Event: OnDisconnected(byYou)
Syntax: OnDisconnected(bool byYou)
Event arguments
byYou- if you get disconnected from IRC by a script the value is true, otherwise is false
This event is triggered when you disconnect from IRC.
Example:
function on Disconnected(byMe)
{
//if you get disconnected from IRC by the server, then connect again
if(!byMe){ ole.Connect(ole.Server,ole.Port,false); }
}