From WikiChip
Difference between revisions of "mirc/identifiers/$inmidi"
m (Bot: Fixing links) |
m |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | '''Note:''' This | + | {{mirc title|$inmidi Identifier}}'''Note:''' This identifier is also a part of the [[Playing music - mIRC|playing music]] section. |
+ | '''$inmidi''' returns whether or not a midi file is currently playing. | ||
− | |||
== Synopsis == | == Synopsis == | ||
− | <pre>$inmidi | + | <pre>$inmidi</pre> |
== Properties == | == Properties == | ||
Line 21: | Line 21: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.0}} | |
− | |||
− | |||
− | == See | + | == See also == |
* [[Playing Music - mIRC|Playing Music]] | * [[Playing Music - mIRC|Playing Music]] | ||
* [[On midiend - mIRC|ON MIDIEND]] | * [[On midiend - mIRC|ON MIDIEND]] | ||
Line 31: | Line 29: | ||
* [[On nosound - mIRC|ON NOSOUND]] | * [[On nosound - mIRC|ON NOSOUND]] | ||
* [[On waveend - mIRC|ON WAVEEND]] | * [[On waveend - mIRC|ON WAVEEND]] | ||
− | * | + | * {{mIRC|$insong}} |
− | * | + | * {{mIRC|$inwave}} |
− | * | + | * {{mIRC|$sound}} |
− | * | + | * {{mIRC|$vol}} |
* {{mIRC|/splay}} | * {{mIRC|/splay}} | ||
* {{mIRC|/vol}} | * {{mIRC|/vol}} | ||
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|inmidi]] |
Latest revision as of 15:13, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Note: This identifier is also a part of the playing music section.
$inmidi returns whether or not a midi file is currently playing.
Synopsis[edit]
$inmidi
Properties[edit]
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[edit]
Echo whether or not a midi file is playing to the active window
//echo -a $inmidi
Compatibility[edit]
Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC identifier list