_Added in 1.9.0_
*on :BAN:<#|*>:*
Trigger when a user on a channel is banned.
_See also [[on UNBAN]], [[$banmask]], [[$modefirst]], [[$modelast]]._
*Parameters*
- The level for the event to trigger.
<#|*> - The [[Matchtarget]] to listen to.
- The commands to be performed when the event listener's criteria is met.
*Example*
on *:BAN:#:echo -ag $nick just banned $banmask from $chan