Event: OnInvite(from,channel,handle)
Syntax: OnInvite(object from,string channel,object handle)
Event arguments
from- the sender of the invitation
channel- the channel where you were invited
handle- the output handler
-

This event is triggered when someone invites you to join a channel.
Note: You can get the host and the user of the sender by using from.Host and from.User. To edit the output text use ole.SetOutput(text,handle);. To delete the output text use ole.DelOutput(handle);

Example:
//Autojoin on invite
function OnInvite(from,channel,handle)
{
ole.Join(channel);
}


Home|Scripting