From WikiChip
On Unban - Events - mIRC
< mirc‎ | on events

The ON UNBAN event is triggered much like the ON BAN event, however it triggers when a ban is removed from a channel's ban list.


ON <level>:UNBAN:<#[,#]>:<commands>


<level>The level for the event to trigger.

<#[,#]>The channel name(s) where the ban was removed.

<commands>The commands to be performed when the event listener's criteria is met.


; Unban event that listens on all channels
; and responds by messaging the channel.
ON *:UNBAN:#:msg # Hey, look, the address $banmask was just removed from the channel's ban list!


Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.

See Also[edit]