Difference between revisions of "$pnick"
From Scriptwiki
m |
|||
Line 5: | Line 5: | ||
== Example == | == Example == | ||
− | on *:TEXT:!playing:#:{ | + | [[on text|on *:TEXT:!playing:#:{]] |
− | if ($play(1)) { | + | [[if]] ([[$play|$play(1)]]) { |
− | msg # I am currently playing $play(1).fname to $pnick $+ . | + | [[msg]] [[$chan (remote)|#]] I am currently playing $play(1).fname to $pnick [[DollarPlus|$+]] . |
} | } | ||
} | } |
Latest revision as of 10:30, 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.