|
|
|
|
|
%echoTo()
Aliases | %echoTo( ) |
---|
Parameters | string @text, array @targets [, string @flag1 [, string @flag2 [, ...]]]] |
---|
|
This function will output the given text to everyone listed in the targets array that is not sleeping or otherwise incapacitated. The following parameters modify the behaviour of this function.
@text - This denotes the text to output to everyone in the room.
@targets - A target mobile pointer OR an array whose values define the target mobiles to receive the text.
@flag1..X - The rest of the parameters denote boolean flags for setting extra functionility. The mere inclusion of the flag enables it, and by default it is disabled. The following flag names are recognized:
allowSleeping - enables text to be sent to sleeping players in the room.
skipOwner - prevents text from going to the owner of the script (@this).
noFormat - prevents the content from being formatted with word-wrapping.
Example: --------------------------------------------------------------------------
%echoTo( "You hear a faint shuffling sound.\n", %roomGetMobs() ) |
|
|
|
|
|
|
|