$pnick

From Scriptwiki
Revision as of 10:30, 19 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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