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

m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))
m (Bot: adding missing title)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{mirc title|On Playend - Events}}
 
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.
  
Line 16: Line 17:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v5.6
+
{{mIRC compatibility|5.6}}
  
 
== See Also ==
 
== See Also ==
Line 22: Line 23:
 
{{mIRC on event list}}
 
{{mIRC on event list}}
  
[[Category:MIRC on events]]
+
[[Category:mIRC on events|playend]]

Revision as of 20:21, 15 June 2017

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 Jun 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also