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

m (Parameters: Link access levels)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{mIRC Guide}}
+
{{mirc title|On Unban - Events}}
 
The '''ON UNBAN''' event is triggered much like the [[On ban - mIRC|ON BAN]] event, however it triggers when a ban is removed from a channel's ban list.
 
The '''ON UNBAN''' event is triggered much like the [[On ban - mIRC|ON BAN]] event, however it triggers when a ban is removed from a channel's ban list.
  
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.
Line 19: Line 19:
  
 
== Compatibility ==
 
== Compatibility ==
{{mIRC compatibility|4.5}}
+
{{mIRC compatibility|4.72}}
  
 
== See Also ==
 
== See Also ==

Latest revision as of 07: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]