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

m (Bot: Adding a template (template:mIRC on event list))
m (Parameters: Link access levels)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{mirc title|On Serverop - Events}}
 
The '''ON SERVEROP''' event triggers when a server ops a user on a channel.
 
The '''ON SERVEROP''' event triggers when a server ops a user on a channel.
  
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 server.
+
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 {{mIRC|$nick}} identifier points to the server.
  
 
== 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;">'''<#[,#]>'''</span>The channel, or channels to listen on. Can be '''#''' to target all channels.
 
<span style="display: inline-block; width: 105px;">'''<#[,#]>'''</span>The channel, or channels to listen on. Can be '''#''' to target all channels.
Line 18: Line 19:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v3.3, v3.4
+
{{mIRC compatibility|3.3}}
 
 
Added On: 21/06/95
 
  
 
== See Also ==
 
== See Also ==
Line 27: Line 26:
 
{{mIRC on event list}}
 
{{mIRC on event list}}
  
[[Category:MIRC on events]]
+
[[Category:mIRC on events|serverop]]

Latest revision as of 08:06, 6 February 2024

The ON SERVEROP event triggers when a server ops a user on a channel.

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 server.

Synopsis[edit]

ON <level>:SERVEROP:<#[,#]>:<commands>

Parameters[edit]

<level>The corresponding access levels for the event to trigger.

<#[,#]>The channel, or channels to listen on. Can be # to target all channels.

<commands>The commands to be performed when the event listener's criteria is met.

Example[edit]

Acknowledge when a user has been elevated to channel operator by the server:

ON *:SERVEROP:#:msg # Congratulations, $opnick $+ ! The server, $nick $+ , just made you an operator!

Compatibility[edit]

Added: mIRC v3.3
Added on: 21 Jun 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]