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

(Created On playend event - mIRC)
 
m (Parameters: Link access levels)
 
(10 intermediate revisions by 4 users not shown)
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.
+
{{mirc title|On Playend - Events}}
 +
The '''ON PLAYEND''' event triggers when mIRC has finished {{mIRC|/play}}ing 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 ==
Line 7: Line 8:
  
 
== Parameters ==
 
== Parameters ==
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The level for the event to trigger.
+
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The corresponding {{mIRC|access levels}} for the event to trigger.
  
 
<span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met.
 
<span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met.
Line 16: Line 17:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v5.6
+
{{mIRC compatibility|5.6}}
 
 
Added On: 03/06/99
 
  
 
== See Also ==
 
== See Also ==
* [[/play command - mIRC]]
+
* {{mIRC|/play}}
 +
{{mIRC on event list}}
  
[[Category:mIRC on events]]
+
[[Category:mIRC on events|playend]]

Latest revision as of 07:01, 6 February 2024

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]