From WikiChip
Difference between revisions of "mirc/on events/on deop"
m (Bot: Fixing compatibility) |
m (→Compatibility: This was added in 3.2) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | The '''ON DEOP''' event triggers whenever a user on a channel has had their | + | {{mirc title|On Deop - Events}} |
− | + | The '''ON DEOP''' event triggers whenever a user on a channel has had their op privileges (mode -o) removed. | |
− | |||
== Synopsis == | == Synopsis == | ||
Line 7: | Line 6: | ||
== Parameters == | == Parameters == | ||
− | + | * '''<level>''' - The corresponding {{mIRC|access levels}} 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 == | ||
Line 22: | Line 24: | ||
== Compatibility == | == Compatibility == | ||
− | {{mIRC compatibility|2 | + | {{mIRC compatibility|3.2}} |
== See Also == | == See Also == | ||
Line 35: | Line 37: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:mIRC on events|deop]] |
Latest revision as of 10:01, 17 February 2024
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The ON DEOP event triggers whenever a user on a channel has had their op privileges (mode -o) removed.
Contents
Synopsis[edit]
ON <level>:DEOP:<#[,#]>:<commands>
Parameters[edit]
- <level> - The corresponding access levels 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[edit]
$opnick[edit]
Returns the nickname of the user being deopped.
Example[edit]
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[edit]
Added: mIRC v3.2
Added on: 02 May 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also[edit]
mIRC on event list