Event: OnQuit(nick,message,handle)
Syntax: OnQuit(object nick,string message,object handle)
Event arguments
nick- the user which quit IRC
message- the quit message
handle- the output handler
This event is triggered when a user quit IRC.
Note: You can get the host and the user of the person which quit IRC by using nick.Host
and nick.User. To edit the output text use ole.SetOutput(text,handle);. To delete
the output text use ole.DelOutput(handle);
Example:
function OnQuit(nick,message,handle)
{
if(ole.IsBuddy(nick)) { ole.SetOutput("* Your buddy, "+nick+", quit IRC: "+message,handle); }
}