From WikiChip
Difference between revisions of "mirc/on events/on unban"
< mirc‎ | on events

m (Compatibility: This was added in 4.72)
m (Parameters: Link access levels)
 
Line 6: Line 6:
  
 
== Parameters ==
 
== Parameters ==
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The level for the event to trigger.
+
<span style="display: inline-block; width: 105px;"> '''<level>'''</span>The corresponding {{mIRC|access levels}} for the event to trigger.
  
 
<span style="display: inline-block; width: 105px;">'''<#[,#]>'''</span>The channel name(s) where the ban was removed.
 
<span style="display: inline-block; width: 105px;">'''<#[,#]>'''</span>The channel name(s) where the ban was removed.

Latest revision as of 08:15, 6 February 2024

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.

Synopsis[edit]

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

Parameters[edit]

<level>The corresponding access levels 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.

Examples[edit]

; 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!

Compatibility[edit]

Added: mIRC v4.72
Added on: 09 Jan 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]