$pnick: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Daveoh (talk | contribs)
No edit summary
(No difference)

Revision as of 09:07, 19 April 2008

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