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

m (bot: sort-key added to category)
m (Parameters: Link access levels)
 
(6 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 ==
{{mIRC compatibility|4.5}}
+
{{mIRC compatibility|4.72}}
  
 
== See Also ==
 
== See Also ==
 
* {{mIRC|$banmask}}
 
* {{mIRC|$banmask}}
 
* {{mIRC|$bnick}}
 
* {{mIRC|$bnick}}
* [[$ibl identifer - mIRC|$ibl]]
+
* {{mIRC|$ibl}}
 
* {{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|unban]]
+
[[Category:mIRC on events|unban]]

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]