Project

General

Profile

On JOIN » History » Revision 4

Revision 3 (Per Amundsen, 01/22/2017 04:26 AM) → Revision 4/6 (Per Amundsen, 02/16/2017 10:26 AM)

_Added in 1.8.10_ 

 *<notextile>on <level>:JOIN:<#|*>:<commands></notextile>* 

 Triggers when a user joins a channel. 

 _See also [[on PART]], [[/join]]._ 

 _Haltable using ^_ 

 *Parameters* 

 <level> - The level for the event to trigger. 
 <#|*> - The [[Matchtarget]] to listen to. 
 <commands> - The commands to be performed when the event listener's criteria is met. 

 *Example* 

 <pre> 
 on *:JOIN:*:echo -ag $nick joined $chan 

 ; Override the join event to print a custom text and then tell AdiIRC to ignore it's own text. 
 on ^*:JOIN:*:{ 
   echo -tcbf join * $nick ( $+ $fulladdress $+ ) join $chan 
   halt 
 } 
 </pre>