Added in 1.8.10

on <level>:PART:<#|*>:<commands>

Triggers when a user parts a channel.

See also on JOIN, /part.

Haltable using ^


<level> - The User Access 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.


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