From WikiChip
Difference between revisions of "mirc/on events/on playend"
< mirc‎ | on events

m (Bot: Adding a template (template:mIRC on event list))
m (Bot: Fixing links)
Line 1: Line 1:
 
The '''ON PLAYEND''' event triggers when mIRC has finished [[/play command - mIRC|playing]] a text file to a channel, or user.
 
The '''ON PLAYEND''' event triggers when mIRC has finished [[/play command - mIRC|playing]] a text file to a channel, or user.
  
This event fills the '''[[$filename identifier - mIRC|$filename]]''' identifier with the file that just finished playing.
+
This event fills the '''{{mIRC|$filename}}''' identifier with the file that just finished playing.
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 21:11, 5 July 2014

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

Added On: 03/06/99

See Also