From WikiChip
Difference between revisions of "mirc/identifiers/$inmidi"
< mirc‎ | identifiers

m (See Also)
m (See Also)
Line 26: Line 26:
  
 
== See Also ==
 
== See Also ==
[[/splay command - mIRC|/splay]]
+
* [[Playing Music - mIRC|Playing Music]]
 
+
* [[On midiend - mIRC|ON MIDIEND]]
[[/wavplay command - mIRC|/wavplay]] ''<span style="color: #A60000; padding-left: 20px;">Deprecated</span>''
+
* [[On mp3end - mIRC|ON MP3END]]
 
+
* [[On nosound - mIRC|ON NOSOUND]]
[[/vol command - mIRC|/vol]]
+
* [[On waveend - mIRC|ON WAVEEND]]
 
+
* [[$insong identifier - mIRC|$insong]]
[[$insong identifier - mIRC|$insong]]
+
* [[$inwave identifier - mIRC|$inwave]]
 
+
* [[$sound identifier - mIRC|$sound]]
[[$inwave identifier - mIRC|$inwave]]
+
* [[$vol identifier - mIRC|$vol]]
 
+
* [[/splay command - mIRC|/splay]]
[[$sound identifier - mIRC|$sound]]
+
* [[/vol command - mIRC|/vol]]
 
 
[[$vol identifier - mIRC|$vol]]
 
  
 
[[Category:mIRC identifiers]]
 
[[Category:mIRC identifiers]]

Revision as of 20:55, 25 June 2014

Note: This command is also a part of the playing music section.


$inmidi returns whether or not a midi file is currently playing.

Synopsis

$inmidi[.property]

Properties

fnameReturns the file name of the currently playing midi file.

posReturns the current position that the player is playing the midi at.

lengthReturns the full length of the currently playing midi file.

pauseReturns $true if the currently playing midi file is paused, else it returns $false.

Example

Echo whether or not a midi file is playing to the active window

//echo -a $inmidi

Compatibility

Added: mIRC v5.0

Added On: 02/04/97

See Also