On playend: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
m added category and see also
mNo edit summary
 
Line 8: Line 8:
'''Note''' that you cannot halt the "* Playback of 'file.txt' complete" -text with this, you'll need to do /.play to halt the "* Playing 'file.txt' to #channel with 1000ms delay" and "* Playback of 'file.txt' complete".
'''Note''' that you cannot halt the "* Playback of 'file.txt' complete" -text with this, you'll need to do /.play to halt the "* Playing 'file.txt' to #channel with 1000ms delay" and "* Playback of 'file.txt' complete".


==See also:==
==See also==
*[[play|/play]]
* [[play|/play]]
*[[$play]]
* [[$play]]
 
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 08:08, 2 July 2007

on <level>:PLAYEND:<commands>

The on PLAYEND event triggers when the /play command has finished playing a file.

Example:

on 1:PLAYEND:{ echo -a The play command has finished playing $filename }

Note that you cannot halt the "* Playback of 'file.txt' complete" -text with this, you'll need to do /.play to halt the "* Playing 'file.txt' to #channel with 1000ms delay" and "* Playback of 'file.txt' complete".

See also