From WikiChip
Difference between revisions of "mirc/on events/on op"
m (→Parameters: Link access levels) |
m (→Compatibility: This was added in 3.2) |
||
Line 23: | Line 23: | ||
== Compatibility == | == Compatibility == | ||
− | {{mIRC compatibility|2 | + | {{mIRC compatibility|3.2}} |
== See Also == | == See Also == |
Latest revision as of 09:58, 17 February 2024
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The ON OP event triggers whenever a user on a channel has been elevated to a channel operator.
This event also fills the $opnick identifier with the nickname of the user who was added to Channel operator status. The $nick identifier points to the user who added them.
Synopsis[edit]
ON <level>:OP:<#[,#]>:<commands>
Parameters[edit]
<level>The corresponding access levels for the event to trigger.
<matchtext>The text to match in the event..
<#[,#]>The channel, or channels where the event listens.
#Any channel if left by itself, otherwise refers to a specific channel
[,#]List of specific channel names
Example[edit]
Acknowledge when a user has been elevated to a channel operator:
ON *:OP:#:msg # Congratulations, $opnick $+ ! $nick has made you a channel operator!
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