Event: OnJoin(nick,channel,handle)
Syntax: OnJoin(object nick,string channel,object handle)
Event arguments
nick- the user which has joined the channel
channel- the channel
handle- the output handler
This event is triggered when you or another user join a channel.
Note: You can get the host and the user of the person which has joined the channel, 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:
//send a welcome notice
function OnJoin(nick,channel,handle)
{
if(channel=="#foo"){ ole.Notice(nick,"Welcome to #foo"); }
}