Returns the nick/channel to which you are currently playing a text file to.
$pnick
- This function has no parameters.
Example
on *:TEXT:!playing:#:{
if ($play(1)) {
msg # I am currently playing $play(1).fname to $pnick $+ .
}
}
Messages the filename and target of the play queue.
See Also
- /play - plays text files to users or channels
- $play - returns information about the play queue