SysMessage | ||
---|---|---|
Prototype | void SysMessage( string message ); | |
Purpose | Sends a string as a sysmessage | |
Example of Usage | mySock.SysMessage( "Isn't the world great?" ); |
TextMessage | ||
---|---|---|
Prototype | void TextMessage( string message ); | |
Purpose | Causes the object to say message. | |
Example of Usage | myChar.TextMessage( "The world is great!" ); |
EmoteMessage | ||
---|---|---|
Prototype | void EmoteMessage( string message ); | |
Purpose | Causes a Char to emote message. Note that you need to manually put in the start and end * | |
Example of Usage | myChar.EmoteMessage( "*look around*" ); |
YellMessage | ||
---|---|---|
Prototype | void YellMessage( string message ); | |
Purpose | Causes the char to yell message. | |
Example of Usage | myChar.YellMessage( "Yeehaa!" ); |
WhisperMessage | ||
---|---|---|
Prototype | void WhisperMessage( string message ); | |
Purpose | Causes the Char to whisper message. | |
Example of Usage | myChar.WhisperMessage( "He you, i've got something for you!" ); |
SubStringSearch | ||
---|---|---|
Prototype | bool SubStringSearch( strToSearch, searchString ); | |
Purpose | Returns true if the string searchString is to be found inside strToSearch. Case insensitive search. | |
Example of Usage | var bFound = SubStringSearch( strSaid, "HELP" ); |
BroadcastMessage | ||
---|---|---|
Prototype | void BroadcastMessage( string toSend ); | |
Purpose | Sends toSend to every client in the world | |
Example of Usage | BroadcastMessage( "You're all going to die a hideous and painful death" ); |
ConsoleMessage | ||
---|---|---|
Prototype | void ConsoleMessage( string toSend ); | |
Purpose | Prints out a string to the server console | |
Example of Usage | ConsoleMessage( "Isn't the world great?" ); |