From WikiChip
Difference between revisions of "mirc/identifiers/$opnick"
< mirc‎ | identifiers

m (Compatibility: Add missing version)
 
Line 10: Line 10:
 
A scripted event that will echo the nickname of the person who was just opped to the active window:
 
A scripted event that will echo the nickname of the person who was just opped to the active window:
 
<source lang="mIRC">ON *:OP:#:echo -a $opnick</source>
 
<source lang="mIRC">ON *:OP:#:echo -a $opnick</source>
 +
 +
== Compatibility ==
 +
{{mIRC compatibility|3.2}}
  
 
== See also ==
 
== See also ==

Latest revision as of 09:50, 30 January 2024

$opnick returns the nickname of a person who was opped/deopped during an ON OP, on deop, on owner and on deowner event.

Synopsis[edit]

$opnick

Switches[edit]

None

Example[edit]

A scripted event that will echo the nickname of the person who was just opped to the active window:

ON *:OP:#:echo -a $opnick

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]

[Expand]
v · d · e mIRC identifier list