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

m (Bot: Adding a template (template:mIRC on event list))
m (Parameters: Link access levels)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{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 5: 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 18: Line 19:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v4.5
+
{{mIRC compatibility|4.72}}
 
 
Added On: 30/06/96
 
  
 
== See Also ==
 
== See Also ==
* [[$banmask identifier - mIRC|$banmask]]
+
* {{mIRC|$banmask}}
* [[$bnick identifier - mIRC|$bnick]]
+
* {{mIRC|$bnick}}
* [[$ibl identifer - mIRC|$ibl]]
+
* {{mIRC|$ibl}}
* [[/ban command - mIRC|/ban]]
+
* {{mIRC|/ban}}
* [[On ban - mIRC|ON BAN Event]]
+
* {{mIRC|on events/on ban|On Ban Event}}
 
{{mIRC on event list}}
 
{{mIRC on event list}}
  
[[Category:MIRC on events]]
+
[[Category:mIRC on events|unban]]

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]