From WikiChip
Difference between revisions of "mirc/on events/on serverop"
m (→See Also) |
m (Bot: Adding a template (template:mIRC on event list)) |
||
Line 25: | Line 25: | ||
* [[On deop - mIRC|ON DEOP]] | * [[On deop - mIRC|ON DEOP]] | ||
* [[On op - mIRC|ON OP]] | * [[On op - mIRC|ON OP]] | ||
+ | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:MIRC on events]] |
Revision as of 23:09, 3 July 2014
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
ON <level>:SERVEROP:<#[,#]>:<commands>
Parameters
<level>The level 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
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
Added: mIRC v3.3, v3.4
Added On: 21/06/95
See Also
mIRC on event list