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

m
m
Line 1: Line 1:
 
'''$hnick''' returns the nickname of a person who was being helped/dehelped during an [[On help - mIRC|ON HELP Event] or an [[On dehelp - mIRC|ON DEHELP Event]]].
 
'''$hnick''' returns the nickname of a person who was being helped/dehelped during an [[On help - mIRC|ON HELP Event] or an [[On dehelp - mIRC|ON DEHELP Event]]].
  
= Synopsis =
+
== Synopsis ==
 
<pre>$hnick</pre>
 
<pre>$hnick</pre>
  
= Switches =
+
== Switches ==
 
None
 
None
  
= Example =
+
== Example ==
 
'''A scripted event that will echo the nickname of the person who was just helped to the active window'''
 
'''A scripted event that will echo the nickname of the person who was just helped to the active window'''
 
<source lang="mIRC">ON *:HELP:#:echo -a $hnick</source>
 
<source lang="mIRC">ON *:HELP:#:echo -a $hnick</source>
  
= See also =
+
== See also ==
 
* [[On help - mIRC|ON HELP Event]]
 
* [[On help - mIRC|ON HELP Event]]
 
* [[On dehelp - mIRC|ON DEHELP Event]]
 
* [[On dehelp - mIRC|ON DEHELP Event]]

Revision as of 14:31, 23 June 2014

$hnick returns the nickname of a person who was being helped/dehelped during an [[On help - mIRC|ON HELP Event] or an ON DEHELP Event].

Synopsis

$hnick

Switches

None

Example

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

ON *:HELP:#:echo -a $hnick

See also