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

(Created page with "{{mirc title|$pnick Identifier}}'''$pnick''' return the name of the channel or the nickname you are currently {{mIRC|/play|/playing}} to. This is useful with the -c and -a sw...")
 
m
 
Line 1: Line 1:
{{mirc title|$pnick Identifier}}'''$pnick''' return the name of the channel or the nickname you are currently {{mIRC|/play|/playing}} to.
+
{{mirc title|$pnick identifier}}'''$pnick''' return the name of the channel or the nickname you are currently {{mIRC|/play|/playing}} to. This is useful with the -c and -a switches of {{mIRC|/play}}
  
This is useful with the -c and -a switches of {{mIRC|/play}}
 
  
 
== Synopsis ==
 
== Synopsis ==
 
<pre>$pnick</pre>
 
<pre>$pnick</pre>
  
== Paramters ==
+
== Parameters ==
 
 
 
None
 
None
  
 
== Properties ==
 
== Properties ==
 
 
None
 
None
  
Line 17: Line 14:
 
<source lang="mIRC">
 
<source lang="mIRC">
 
alias test.play {
 
alias test.play {
msg $pnick test : $1-
+
  msg $pnick test : $1-
 
}</source>And use //play -a test.play <nick|channel> file.txt
 
}</source>And use //play -a test.play <nick|channel> file.txt
  
Line 23: Line 20:
 
{{mIRC compatibility|3.72}}
 
{{mIRC compatibility|3.72}}
  
== See Also ==
+
== See also ==
{{mIRC|/play}}
+
* {{mIRC|/play}}
[[Category:MIRC identifiers]]
+
{{mIRC identifier list}}
 +
[[Category:mIRC identifiers|pnick]]

Latest revision as of 13:02, 22 September 2017

$pnick return the name of the channel or the nickname you are currently /playing to. This is useful with the -c and -a switches of /play


Synopsis[edit]

$pnick

Parameters[edit]

None

Properties[edit]

None

Example[edit]

alias test.play {
  msg $pnick test : $1-
}
And use //play -a test.play <nick|channel> file.txt

Compatibility[edit]

Added: mIRC v3.72
Added on: 24 Oct 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