From WikiChip
mirc/on events/on playend
< mirc‎ | on events
Revision as of 01:03, 6 July 2014 by PatrolBot (talk | contribs) (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))

The ON PLAYEND event triggers when mIRC has finished playing a text file to a channel, or user.

This event fills the $filename identifier with the file that just finished playing.

Synopsis

ON <level>:PLAYEND:<commands>

Parameters

<level>The level for the event to trigger.

<commands>The commands to be performed when the event listener's criteria is met.

Examples

Echo the name of the file that finished playing to the active window:

ON *:PLAYEND:echo -a * $filename has just finished playing.

Compatibility

Added: mIRC v5.6

See Also