From WikiChip
$pnick Identifier - mIRC
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.