From WikiChip
Difference between revisions of "mirc/identifiers/$inmidi"
(Created $inmidi identifier - mIRC) |
m |
||
Line 4: | Line 4: | ||
== Synopsis == | == Synopsis == | ||
− | <pre>$inmidi</pre> | + | <pre>$inmidi[.property]</pre> |
− | == | + | == Properties == |
− | + | <span style="display: inline-block; width: 70px;">'''fname'''</span>Returns the file name of the currently playing midi file. | |
+ | |||
+ | <span style="display: inline-block; width: 70px;">'''pos'''</span>Returns the current position that the player is playing the midi at. | ||
+ | |||
+ | <span style="display: inline-block; width: 70px;">'''length'''</span>Returns the full length of the currently playing midi file. | ||
+ | |||
+ | <span style="display: inline-block; width: 70px;">'''pause'''</span>Pauses the currently playing midi file. | ||
== Example == | == Example == |
Revision as of 15:58, 23 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.
pausePauses the currently playing midi file.
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
/wavplay Deprecated