UOX3 Script Engine

API and Event handling

Speech Related Methods

SysMessage
Prototype
void SysMessage( string message );
PurposeSends a string as a sysmessage
Example of Usage
mySock.SysMessage( "Isn't the world great?" );

 

TextMessage
Prototype
void TextMessage( string message );
PurposeCauses the object to say message.
Example of Usage
myChar.TextMessage( "The world is great!" );

 

EmoteMessage
Prototype
void EmoteMessage( string message );
PurposeCauses 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 );
PurposeCauses the char to yell message.
Example of Usage
myChar.YellMessage( "Yeehaa!" );

 

WhisperMessage
Prototype
void WhisperMessage( string message );
PurposeCauses the Char to whisper message.
Example of Usage
myChar.WhisperMessage( "He you, i've got something for you!" );

 

Speech Related Functions

SubStringSearch
Prototype
bool SubStringSearch( strToSearch, searchString );
PurposeReturns 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 );
PurposeSends 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 );
PurposePrints out a string to the server console
Example of Usage
ConsoleMessage( "Isn't the world great?" );
©Copyright 2000-2001 WWW.UOX3.NET (Daniel Stratton/Matthew Randall)