From WikiChip
Difference between revisions of "mirc/on events/on deop"
Line 1: | Line 1: | ||
{{mIRC Guide}} | {{mIRC Guide}} | ||
− | The '''ON DEOP''' event triggers whenever a user on a channel has had their | + | The '''ON DEOP''' event triggers whenever a user on a channel has had their op privileges (mode -o) removed. |
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
Line 8: | Line 6: | ||
== Parameters == | == Parameters == | ||
− | + | * '''<level>''' - The corresponding {{mIRC|access levels}} for the event to trigger. | |
+ | * '''<matchtext>''' - The corresponding {{mIRC|on text|matchtext}} for the event to trigger. | ||
+ | * '''<*><#>''' - The place, or places where the event listens, you can specify specific name of window, seperate them by comma. | ||
+ | ** '''*''' - Any channel window | ||
+ | ** '''#''' - Any channel window | ||
+ | * '''<commands>''' - The commands to be performed when the event triggers | ||
− | + | == {{mIRC|local identifiers}} == | |
− | + | === {{mIRC|$opnick}} === | |
− | + | Returns the nickname of the user being deopped. | |
− | |||
== Example == | == Example == |
Revision as of 12:35, 9 February 2016
Template:mIRC Guide The ON DEOP event triggers whenever a user on a channel has had their op privileges (mode -o) removed.
Contents
Synopsis
ON <level>:DEOP:<#[,#]>:<commands>
Parameters
- <level> - The corresponding access levels for the event to trigger.
- <matchtext> - The corresponding matchtext for the event to trigger.
- <*><#> - The place, or places where the event listens, you can specify specific name of window, seperate them by comma.
- * - Any channel window
- # - Any channel window
- <commands> - The commands to be performed when the event triggers
local identifiers
$opnick
Returns the nickname of the user being deopped.
Example
Let the channel know when a user's operator privilege has been removed:
ON *:DEOP:#:msg # Oh no, $opnick has had their operator privilege removed :(
Compatibility
Added: mIRC v2.1a
Added on: 28 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also
mIRC on event list