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

(/mnick and /anick links)
m (Example: add syntaxhighlight)
Line 12: Line 12:
 
== Example ==
 
== Example ==
 
'''Echo the value of ''$mnick'' to the active window'''
 
'''Echo the value of ''$mnick'' to the active window'''
<pre>//echo -a $mnick</pre>
+
<syntaxhighlight lang="mIRC">
 +
//echo -a $mnick</syntaxhighlight>
  
 
== See also ==
 
== See also ==

Revision as of 17:55, 23 June 2014

$mnick returns the value of your main nickname, which is set in the mIRC options dialog.

Synopsis

$mnick

Switches

None

Results

Returns the value of your main nickname.

Example

Echo the value of $mnick to the active window

//echo -a $mnick

See also