Difference between revisions of "Script:What Did He Say"
From Roll20 Wiki
(→description) |
(→description) |
||
Line 2: | Line 2: | ||
==description== | ==description== | ||
− | This script allows you to use macros to "speak in other languages". Each language must be assigned a character sheet manually, and control of the sheet given to any players with characters that speak that language. Language names should be the same as the command to speak them without the !. | + | This script allows you to use macros to "speak in other languages". Each language must be assigned a character sheet manually, and control of the sheet given to any players with characters that speak that language. Language names should be the same as the command to speak them without the !.<br>The supported languages and the macros to use them are |
− | + | aboleth= !aboleth ?{message}<br> | |
− | aboleth= !aboleth ?{message} | + | abyssal= !abyssal ?{message}<br> |
− | abyssal= !abyssal ?{message} | + | aklo= !aklo ?{message}<br> |
− | aklo= !aklo ?{message} | + | aquan= !aquan ?{message}<br> |
− | aquan= !aquan ?{message} | + | auran= !auran ?{message}<br> |
− | auran= !auran ?{message} | + | boggard= !boggard ?{message}<br> |
− | boggard= !boggard ?{message} | + | celestial= !celestial ?{message}<br> |
− | celestial= !celestial ?{message} | + | cyclops= !cyclops ?{message}<br> |
− | cyclops= !cyclops ?{message} | + | draconic= !draconic ?{message}<br> |
− | draconic= !draconic ?{message} | + | drow sign language= !drow ?{message}<br> |
− | drow sign language= !drow ?{message} | + | druidic= !druidic ?{message}<br> |
− | druidic= !druidic ?{message} | + | dwarven= !dwarven ?{message}<br> |
− | dwarven= !dwarven ?{message} | + | elven= !elven?{message}<br> |
− | elven= !elven?{message} | + | giant= !giant ?{message}<br> |
− | giant= !giant ?{message} | + | gnoll= !gnoll ?{message}<br> |
− | gnoll= !gnoll ?{message} | + | gnome= !gnome ?{message}<br> |
− | gnome= !gnome ?{message} | + | goblin= !goblin ?{message}<br> |
− | goblin= !goblin ?{message} | + | halfling= !halfling ?{message}<br> |
− | halfling= !halfling ?{message} | + | ignan= !ignan ?{message}<br> |
− | ignan= !ignan ?{message} | + | infernal= !infernal ?{message}<br> |
− | infernal= !infernal ?{message} | + | orc= !orc ?{message}<br> |
− | orc= !orc ?{message} | + | protean= !protean ?{message}<br> |
− | protean= !protean ?{message} | + | sphinx= !sphinx ?{message}<br> |
− | sphinx= !sphinx ?{message} | + | sylvan= !sylvan ?{message}<br> |
− | sylvan= !sylvan ?{message} | + | tengu= !tengu ?{message}<br> |
− | tengu= !tengu ?{message} | + | terran= !terran ?{message}<br> |
− | terran= !terran ?{message} | + | treant= !treant ?{message}<br> |
− | treant= !treant ?{message} | + | undercommon= !undercommon ?{message}<br> |
− | undercommon= !undercommon ?{message} | + | |
===Code=== | ===Code=== | ||
https://github.com/Rogerdodge/language-script-for-roll20/blob/master/languages.js | https://github.com/Rogerdodge/language-script-for-roll20/blob/master/languages.js |
Revision as of 23:54, 30 December 2014
Author: Stephen S. (original version) Roger A.(modified/expanded version using the same interaction style as the original, instead of the new interaction style of Stephen's current language script)
description
This script allows you to use macros to "speak in other languages". Each language must be assigned a character sheet manually, and control of the sheet given to any players with characters that speak that language. Language names should be the same as the command to speak them without the !.
The supported languages and the macros to use them are
aboleth= !aboleth ?{message}
abyssal= !abyssal ?{message}
aklo= !aklo ?{message}
aquan= !aquan ?{message}
auran= !auran ?{message}
boggard= !boggard ?{message}
celestial= !celestial ?{message}
cyclops= !cyclops ?{message}
draconic= !draconic ?{message}
drow sign language= !drow ?{message}
druidic= !druidic ?{message}
dwarven= !dwarven ?{message}
elven= !elven?{message}
giant= !giant ?{message}
gnoll= !gnoll ?{message}
gnome= !gnome ?{message}
goblin= !goblin ?{message}
halfling= !halfling ?{message}
ignan= !ignan ?{message}
infernal= !infernal ?{message}
orc= !orc ?{message}
protean= !protean ?{message}
sphinx= !sphinx ?{message}
sylvan= !sylvan ?{message}
tengu= !tengu ?{message}
terran= !terran ?{message}
treant= !treant ?{message}
undercommon= !undercommon ?{message}
Code
https://github.com/Rogerdodge/language-script-for-roll20/blob/master/languages.js