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

m (See also)
m
Line 1: Line 1:
 
'''$opnick''' returns the nickname of a person who was opped/deopped during an [[On op - mIRC|ON OP Event]].
 
'''$opnick''' returns the nickname of a person who was opped/deopped during an [[On op - mIRC|ON OP Event]].
  
= Synopsis =
+
== Synopsis ==
 
<pre>$opnick</pre>
 
<pre>$opnick</pre>
  
= Switches =
+
== Switches ==
 
None
 
None
  
= Example =
+
== Example ==
 
'''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>
  
= See also =
+
== See also ==
 
* [[On op - mIRC|ON OP Event]]
 
* [[On op - mIRC|ON OP Event]]
 
* [[On deop - mIRC|ON DEOP Event]]
 
* [[On deop - mIRC|ON DEOP Event]]

Revision as of 15:32, 23 June 2014

$opnick returns the nickname of a person who was opped/deopped during an ON OP Event.

Synopsis

$opnick

Switches

None

Example

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

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

See also