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!" ); |
GetDictionaryEntry | ||
---|---|---|
Prototype | string GetDictionaryEntry( entryNum [, language ] ); | |
Purpose | Pulls entry from the dictionary file based on language (or default). | |
Example of Usage | var textString = GetDictionaryEntry( 1, socket.Language ); |
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?" ); |
Yell | ||
---|---|---|
Prototype | void Yell( socket, string message, commandlevel ); | |
Purpose | Globally sends the message to anyone matching the provided commandlevel | |
Example of Usage | Yell( pSock, "Isn't the world great?", 2 ); |