SysMessage | ||
---|---|---|
Prototype | void SysMessage( string message ); | |
Purpose | Sends a string as a sysmessage. | |
Example of Usage | mySock.SysMessage( "Isn't the world great?" ); |
Disconnect | ||
---|---|---|
Prototype | void Disconnect(); | |
Purpose | Disconnect a client. | |
Example of Usage | mySock.Disconnect(); |
SoundEffect | ||
---|---|---|
Prototype | - | |
Purpose | - | |
Example of Usage | - |
CustomTarget | ||
---|---|---|
Prototype | void CustomTarget( tNum, toSay ); | |
Purpose | Very similar to PopUpTarget. It's a callback situation instead. tNum must be between 0 and 255. Says toSay, and shows a cursor. Reenters the script associated with the socket's player (ie player who gets the cursor). Enters function name based on the value of tNum. if tNum is 0, then the function would be onCallback0. Prototype of callback is: function onCallback0( tSock, targSerial ) | |
Example of Usage | mySock.CustomTarget( 0, "Select your custom target:" ); |
PopUpTarget | ||
---|---|---|
Prototype | void PopUpTarget( tNum, toSay ); | |
Purpose | Provides a call to an inbuilt popup target. tNum must be between 0 and 255 inclusive. Says toSay, and shows a cursor. Note that this allows access potentially to GM functions. | |
Example of Usage | mySock.PopUpTarget( 2, "Where do you wish to teleport to?" ); |
OpenUrl | ||
---|---|---|
Prototype | void SysMessage( string message ); | |
Purpose | Opens a specified URL in player's browser | |
Example of Usage | mySock.OpenUrl( "http://www.uox3.org" ); |