From WikiChip
Editing mirc/on events/on midiend

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{mirc title|On Midiend - Events}}
+
The '''ON MIDIEND''' event triggers whenever a midi file has finished playing via the [[/splay command - mIRC|/splay command]].
The '''ON MIDIEND''' event triggers whenever a [[midi]] file has finished playing via the {{mIRC|/splay}} command.
 
  
This event fills the {{mIRC|$filename}} identifier, which will be set to the complete location and filename of the sound file that just ended.
+
This event fills the '''[[$filename identifier - mIRC|$filename identifier]]''', which will be set to the complete location and filename of the sound file that just ended.
  
 
== Synopsis ==
 
== Synopsis ==
Line 8: Line 7:
  
 
== Parameters ==
 
== Parameters ==
<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;">'''<level>'''</span>The level 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.
  
 
== Examples ==
 
== Examples ==
Echo to the active window when the sound file has ended, including its filename:
+
Echo to the active window when a midi file has just ended, including its filename:
<source lang="mIRC">ON *:MIDIEND:echo -a $nopath($filename) has ended</source>
+
<source lang="mIRC">ON *:MP3END:echo -a $nopath($filename) has ended</source>
  
 
The example above will output results similar to the contents below:
 
The example above will output results similar to the contents below:
Line 20: Line 19:
  
 
== Compatibility ==
 
== Compatibility ==
{{mIRC compatibility|5.0}}
+
Added: mIRC v5.0
 +
 
 +
Added On: 02/04/97
  
 
== See Also ==
 
== See Also ==
 
* [[Playing Music - mIRC|Playing Music]]
 
* [[Playing Music - mIRC|Playing Music]]
 
* [[On mp3end - mIRC|ON MP3END]]
 
* [[On mp3end - mIRC|ON MP3END]]
* [[On nosound - mIRC|ON NOSOUND]]
 
 
* [[On waveend - mIRC|ON WAVEEND]]
 
* [[On waveend - mIRC|ON WAVEEND]]
* {{mIRC|$inmidi}}
+
* [[$inmidi identifier - mIRC|$inmidi]]
* {{mIRC|$insong}}
+
* [[$insong identifier - mIRC|$insong]]
* {{mIRC|$inwave}}
+
* [[$inwave identifier - mIRC|$inwave]]
* {{mIRC|$sound}}
+
* [[$sound identifier - mIRC|$sound]]
* {{mIRC|$vol}}
+
* [[$vol identifier - mIRC|$vol]]
* {{mIRC|/splay}}
+
* [[/splay command - mIRC|/splay]]
* {{mIRC|/vol}}
+
* [[/vol command - mIRC|/vol]]
{{mIRC on event list}}
 
  
[[Category:mIRC on events|midiend]]
+
[[Category:mIRC on events]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)