On PART » History » Revision 5
Revision 4 (Per Amundsen, 02/16/2017 10:27 AM) → Revision 5/6 (Per Amundsen, 02/16/2017 10:29 AM)
_Added in 1.8.10_
*<notextile>on <level>:PART:<#|*>:<commands></notextile>*
Triggers when a user parts a channel.
_See also [[on JOIN]], [[/part]]._
_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 *:PART:*:echo -ag $nick parted $chan
; Override the part event to print a custom text and then tell AdiIRC to ignore it's own text.
on ^*:PART:*:{
echo -tcbf part $chan * $nick ( $+ $fulladdress $+ ) parts $chan
halt
}
</pre>