Command: ole.SetOutput(text,handle);
Syntax: ole.SetOutput(string text,object handle);
Return: nothing

This command can be used to set the output text of a message. The handle object represents the handle to the message.

Example:
//When you receive a private message Ole display the message like bellow
// <Joe> Hello there
//You can use the SetOutput command to change that
function OnPrivMsg(from,message,handle)
{
ole.SetOutput("&clubs;"+from+"&clubs;"+message,handle);
//Now every time you will receive a private message, Ole will display the message like bellow
// ♣Joe♣ Hello There
}

See also: DelOutput, Echo, Input, StripText


Home|Scripting