From WikiChip
On Playend - Events - mIRC
< mirc‎ | on events(Redirected from On playend - mIRC)

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[edit]

ON <level>:PLAYEND:<commands>

Parameters[edit]

<level>The corresponding access levels for the event to trigger.

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

Examples[edit]

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

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

Compatibility[edit]

Added: mIRC v5.6
Added on: 03 Jun 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]