From WikiChip
Difference between revisions of "mirc/on events/on op"
(Created On op event - mIRC) |
m (Bot: adding missing title) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|On Op - Events}} | ||
The '''ON OP''' event triggers whenever a user on a channel has been elevated to a [[Channel operator - IRC|channel operator]]. | The '''ON OP''' event triggers whenever a user on a channel has been elevated to a [[Channel operator - IRC|channel operator]]. | ||
+ | |||
+ | This event also fills the {{mIRC|$opnick}} identifier with the nickname of the user who was added to [[Channel operator - IRC|Channel operator]] status. The {{mIRC|$nick}} identifier points to the user who added them. | ||
== Synopsis == | == Synopsis == | ||
Line 17: | Line 20: | ||
== Example == | == Example == | ||
Acknowledge when a user has been elevated to a channel operator: | Acknowledge when a user has been elevated to a channel operator: | ||
− | <source lang="mIRC">ON *:OP:#:msg # Congratulations, $ | + | <source lang="mIRC">ON *:OP:#:msg # Congratulations, $opnick $+ ! $nick has made you a channel operator!</source> |
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|2.1a}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
− | * [[On | + | * [[On deop - mIRC|ON DEOP]] |
+ | * [[On deowner - mIRC|ON DEOWNER]] | ||
+ | * [[On devoice - mIRC|ON DEVOICE]] | ||
* [[On help - mIRC|ON HELP]] | * [[On help - mIRC|ON HELP]] | ||
− | * [[On | + | * [[On owner - mIRC|ON OWNER]] |
+ | * [[On serverop - mIRC|ON SERVEROP]] | ||
+ | * [[On voice - mIRC|ON VOICE]] | ||
+ | * {{mIRC|/mode}} | ||
+ | * {{mIRC|$mode}} | ||
+ | {{mIRC on event list}} | ||
− | [[Category:mIRC on events]] | + | [[Category:mIRC on events|op]] |
Revision as of 20:20, 15 June 2017
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.
Contents
[hide]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 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also
[Expand]
mIRC on event list