on JOIN/PART

 

The on JOIN and on PART events trigger when a user joins or parts a channel.

 

Format:        on <level>:JOIN:<#[,#]>:<commands>

Example:        on 1:JOIN:#mirc,#irchelp:/msg $nick hiya!

 

Examples

 

on 1:JOIN:#:/msg $chan Welcome $nick

 

This triggers when any user joins any channel which you are on.

 

on 5:PART:#mIRC,#newbies:/describe $chan waves bye-bye to $nick *sniff*

 

This triggers when a user with access level 5 leaves channels #mIRC or #newbies.