From WikiChip
Difference between revisions of "mirc/on events/on op"
< mirc‎ | on events

m (See Also)
m (Compatibility: This was added in 3.2)
 
(11 intermediate revisions by 4 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 [[$opnick identifier - mIRC|$opnick]] identifier with the nickname of the user who was added to [[Channel operator - IRC|Channel operator]] status. The [[$nick identifier - mIRC|$nick]] identifier points to the user who added them.
+
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 7: Line 8:
  
 
== Parameters ==
 
== Parameters ==
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The level for the event to trigger..
+
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The corresponding {{mIRC|access levels}} for the event to trigger.
  
 
<span style="display: inline-block; width: 105px;">'''<matchtext>'''</span>The text to match in the event..
 
<span style="display: inline-block; width: 105px;">'''<matchtext>'''</span>The text to match in the event..
Line 22: Line 23:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v2.1a
+
{{mIRC compatibility|3.2}}
 
 
Added On: 28/02/95
 
  
 
== See Also ==
 
== See Also ==
Line 34: Line 33:
 
* [[On serverop - mIRC|ON SERVEROP]]
 
* [[On serverop - mIRC|ON SERVEROP]]
 
* [[On voice - mIRC|ON VOICE]]
 
* [[On voice - mIRC|ON VOICE]]
* [[/mode command - mIRC|/mode]]
+
* {{mIRC|/mode}}
* [[$mode identifier - mIRC|$mode]]
+
* {{mIRC|$mode}}
 +
{{mIRC on event list}}
  
[[Category:mIRC on events]]
+
[[Category:mIRC on events|op]]

Latest revision as of 10:58, 17 February 2024

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]