Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:What Did He Say"

From Roll20 Wiki

Jump to: navigation, search
(description)
(redirect to Script Index, API no longer available)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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) <br>
+
#Redirect[[API:Script Index]]
 +
<!-- Don't delete redirect, help center links to this page even though API have been removed
 +
[[Category:Discontinued API Scripts]] -->
 +
script overview
 +
|name=What Did He Say?
 +
|author={{user profile|61424|Roger A.}}
 +
|version=2.0
 +
|lastmodified=2014-10-11
  
==description==
+
'''What Did He Say?''' allows users to convert things they type into gibberish for characters who don't speak the language the player is speaking as.
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
+
<br clear="all">
aboleth= !aboleth ?{message}<br>
+
abyssal= !abyssal ?{message}<br>
+
aklo= !aklo ?{message}<br>
+
aquan= !aquan ?{message}<br>
+
auran= !auran ?{message}<br>
+
boggard= !boggard ?{message}<br>
+
celestial= !celestial ?{message}<br>
+
cyclops= !cyclops ?{message}<br>
+
draconic= !draconic ?{message}<br>
+
drow sign language= !drow ?{message}<br>
+
druidic= !druidic ?{message}<br>
+
dwarven= !dwarven ?{message}<br>
+
elven= !elven?{message}<br>
+
giant= !giant ?{message}<br>
+
gnoll= !gnoll ?{message}<br>
+
gnome= !gnome ?{message}<br>
+
goblin= !goblin ?{message}<br>
+
halfling= !halfling ?{message}<br>
+
ignan= !ignan ?{message}<br>
+
infernal= !infernal ?{message}<br>
+
orc= !orc ?{message}<br>
+
protean= !protean ?{message}<br>
+
sphinx= !sphinx ?{message}<br>
+
sylvan= !sylvan ?{message}<br>
+
tengu= !tengu ?{message}<br>
+
terran= !terran ?{message}<br>
+
treant= !treant ?{message}<br>
+
undercommon= !undercommon ?{message}<br>
+
  
===Code===
+
=== Syntax ===
https://github.com/Rogerdodge/language-script-for-roll20/blob/master/languages.js
+
<!-- supress category
 +
{{syntaxbox top|What Did He Say?|formal=true}}
 +
{{API command|}}{{API parameter|name=language}} {{API parameter|name=message}}
 +
{{Formal API command|
 +
{{token|S}} {{rarr}} {{API command|}}{{token|language}} {{token|message|-}}
 +
{{token|message}} {{rarr}} {{string|-}}
 +
{{token|language}} {{rarr}} aboleth<br>
 +
{{token|language}} {{rarr}} abyssal<br>
 +
{{token|language}} {{rarr}} aklo<br>
 +
{{token|language}} {{rarr}} aquan<br>
 +
{{token|language}} {{rarr}} auran<br>
 +
{{token|language}} {{rarr}} boggard<br>
 +
{{token|language}} {{rarr}} celestial<br>
 +
{{token|language}} {{rarr}} cyclops<br>
 +
{{token|language}} {{rarr}} draconic<br>
 +
{{token|language}} {{rarr}} drow<br>
 +
{{token|language}} {{rarr}} druidic<br>
 +
{{token|language}} {{rarr}} dwarven<br>
 +
{{token|language}} {{rarr}} elven<br>
 +
{{token|language}} {{rarr}} giant<br>
 +
{{token|language}} {{rarr}} gnoll<br>
 +
{{token|language}} {{rarr}} gnome<br>
 +
{{token|language}} {{rarr}} goblin<br>
 +
{{token|language}} {{rarr}} halfling<br>
 +
{{token|language}} {{rarr}} ignan<br>
 +
{{token|language}} {{rarr}} infernal<br>
 +
{{token|language}} {{rarr}} orc<br>
 +
{{token|language}} {{rarr}} protean<br>
 +
{{token|language}} {{rarr}} sphinx<br>
 +
{{token|language}} {{rarr}} sylvan<br>
 +
{{token|language}} {{rarr}} tengu<br>
 +
{{token|language}} {{rarr}} terran<br>
 +
{{token|language}} {{rarr}} treant<br>
 +
{{token|language}} {{rarr}} undercommon
 +
}}
 +
{{syntaxbox end}}
 +
 
 +
{{param description top}}
 +
{{param description|name=language|value=The language to speak. See Supported Languages below for a full list of options.}}
 +
{{param description|name=message|value=The message to send. Players with control over the language's character sheet will see the original message, while everyone else only sees the gibberish.}}
 +
{{param description bottom}}
 +
-->
 +
=== Supported Languages ===
 +
The following languages are available to this script. The campaign should have a character with each of the following names, in order to support players ''understanding'' the messages being sent:
 +
 
 +
{{multicol|3|* aboleth
 +
* abyssal
 +
* aklo
 +
* aquan
 +
* auran
 +
* boggard
 +
* celestial
 +
* cyclops
 +
* draconic
 +
* drow
 +
* druidic
 +
* dwarven
 +
* elven
 +
* giant
 +
* gnoll
 +
* gnome
 +
* goblin
 +
* halfling
 +
* ignan
 +
* infernal
 +
* orc
 +
* protean
 +
* sphinx
 +
* sylvan
 +
* tengu
 +
* terran
 +
* treant
 +
* undercommon}}
 +
 
 +
=== Changelog ===
 +
{{changelog version|2.0|2014-10-11|* Release}}

Latest revision as of 20:03, 20 September 2021

  1. RedirectAPI:Script Index

script overview |name=What Did He Say? |author=Roger A. |version=2.0 |lastmodified=2014-10-11

What Did He Say? allows users to convert things they type into gibberish for characters who don't speak the language the player is speaking as.

[edit] Syntax

[edit] Supported Languages

The following languages are available to this script. The campaign should have a character with each of the following names, in order to support players understanding the messages being sent:

  • aboleth
  • abyssal
  • aklo
  • aquan
  • auran
  • boggard
  • celestial
  • cyclops
  • draconic
  • drow
  • druidic
  • dwarven
  • elven
  • giant
  • gnoll
  • gnome
  • goblin
  • halfling
  • ignan
  • infernal
  • orc
  • protean
  • sphinx
  • sylvan
  • tengu
  • terran
  • treant
  • undercommon

[edit] Changelog

v2.0 (2014-10-11)

  • Release