-
Notifications
You must be signed in to change notification settings - Fork 113
Speech commands
Command format:
ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
-
ReturnType - the return value of the function (void - the function returns nothing);
-
NameSpace - the scope of the function;
-
name - the name of the function;
-
requiredParameters - required parameters;
-
optionalParameters - optional parameters, the default value is indicated after the = sign
Prints 'text' string into system chat.
If only 'text' string was passed, default color [no color] will be used.
color - message color.
text - message text.
Print a message above character with given serial.
serial - given character serial.
color - message color.
text - message text.
Display 'text' speech in client.
Changes font color of YOUR character to given color argument ( if given ) and disables/enables this feature by state argument.
state - can be either true or false.
color - message color.
Returns state of Orion.SetFontColor() option.
Returns color value of Orion.SetFontColor() option.
Changes font color of all characters to a given color argument ( if given ) and disables/enables this feature by state argument.
state - can be either true or false.
color - message color.
Returns state of Orion.SetCharactersFontColor() option.
Returns color value of Orion.SetCharactersFontColor() option.
Do 'yelling' speech.
Do 'whisper' speech.
Do 'emote' speech.
Do 'broadcast' speech.
Send 'text' to party chat.
Send 'text' to guild chat.
Send 'text' to alliance chat.
Set a hook for entering text into chat. The sent message will be completely intercepted by the assistant.
If the trap retires by timeout, the sent message will go to the world.
maxDelay - maximum timeout for input;
message - the message that will be displayed when the trap is activated.
Result: An intercepted message or an empty line (if the timeout is reached).