From WikiChip
Difference between revisions of "mirc/on events/on op"
m (Bot: Adding a template (template:mIRC on event list)) |
m (Bot: Fixing links) |
||
Line 34: | Line 34: | ||
* [[On serverop - mIRC|ON SERVEROP]] | * [[On serverop - mIRC|ON SERVEROP]] | ||
* [[On voice - mIRC|ON VOICE]] | * [[On voice - mIRC|ON VOICE]] | ||
− | * | + | * {{mIRC|/mode}} |
* [[$mode identifier - mIRC|$mode]] | * [[$mode identifier - mIRC|$mode]] | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
[[Category:MIRC on events]] | [[Category:MIRC on events]] |
Revision as of 19:09, 5 July 2014
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
ON <level>:OP:<#[,#]>:<commands>
Parameters
<level>The level 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
Acknowledge when a user has been elevated to a channel operator:
ON *:OP:#:msg # Congratulations, $opnick $+ ! $nick has made you a channel operator!
Compatibility
Added: mIRC v2.1a
Added On: 28/02/95
See Also
mIRC on event list