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

(See Also)
(Example)
Line 17: Line 17:
 
== 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, $nick $+ ! You are now a channel operator!</source>
+
<source lang="mIRC">ON *:OP:#:msg # Congratulations, $opnick $+ ! $nick has made you a channel operator!</source>
  
 
== Compatibility ==
 
== Compatibility ==

Revision as of 20:17, 24 June 2014

The ON OP event triggers whenever a user on a channel has been elevated to a channel operator.

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