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

m
m
Line 1: Line 1:
 
'''$vnick''' returns the nickname of a person who was voiced/devoiced during an [[On voice - mIRC|ON VOICE Event]] or an [[On devoice - mIRC|ON DEVOICE Event]].
 
'''$vnick''' returns the nickname of a person who was voiced/devoiced during an [[On voice - mIRC|ON VOICE Event]] or an [[On devoice - mIRC|ON DEVOICE Event]].
  
= Synopsis =
+
== Synopsis ==
 
<pre>$vnick</pre>
 
<pre>$vnick</pre>
  
= Switches =
+
== Switches ==
 
None
 
None
  
= Example =
+
== Example ==
 
'''A scripted event that will echo the nickname of the person who was just voiced to the active window'''
 
'''A scripted event that will echo the nickname of the person who was just voiced to the active window'''
 
<source lang="mIRC">ON *:VOICE:#:echo -a $vnick</source>
 
<source lang="mIRC">ON *:VOICE:#:echo -a $vnick</source>
  
= See also =
+
== See also ==
 
* [[On voice - mIRC|ON VOICE Event]]
 
* [[On voice - mIRC|ON VOICE Event]]
 
* [[On devoice - mIRC|ON DEVOICE Event]]
 
* [[On devoice - mIRC|ON DEVOICE Event]]

Revision as of 14:31, 23 June 2014

$vnick returns the nickname of a person who was voiced/devoiced during an ON VOICE Event or an ON DEVOICE Event.

Synopsis

$vnick

Switches

None

Example

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

ON *:VOICE:#:echo -a $vnick

See also