From WikiChip
Difference between revisions of "mirc/identifiers/$pnick"
(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...") |
(No difference)
|
Revision as of 10:54, 3 October 2015
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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
$pnick
Paramters
None
Properties
None
Example
alias test.play { msg $pnick test : $1- }And use //play -a test.play <nick|channel> file.txt
Compatibility
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.