From WikiChip
Difference between revisions of "mirc/identifiers/$inwave"
m (Bot: Fixing links) |
m |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | '''Note:''' This command is also a part of the [[Playing music - mIRC|playing music]] section. | + | {{mirc title|$inwave Identifier}}'''Note:''' This command is also a part of the [[Playing music - mIRC|playing music]] section. |
+ | '''$inwave''' returns whether or not a wav file is currently playing. | ||
− | |||
== Synopsis == | == Synopsis == | ||
Line 24: | Line 24: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.3}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
Line 34: | Line 32: | ||
* [[On nosound - mIRC|ON NOSOUND]] | * [[On nosound - mIRC|ON NOSOUND]] | ||
* [[On waveend - mIRC|ON WAVEEND]] | * [[On waveend - mIRC|ON WAVEEND]] | ||
− | * | + | * {{mIRC|$inmidi}} |
− | * | + | * {{mIRC|$insong}} |
− | * | + | * {{mIRC|$sound}} |
− | * | + | * {{mIRC|$vol}} |
* {{mIRC|/splay}} | * {{mIRC|/splay}} | ||
* {{mIRC|/vol}} | * {{mIRC|/vol}} | ||
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|inwave]] |
Latest revision as of 15:19, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Note: This command is also a part of the playing music section.
$inwave returns whether or not a wav file is currently playing.
Synopsis[edit]
$inwave[.property]
Properties[edit]
fnameReturns the file name of the currently playing wav file.
posReturns the current position that the player is playing the wav at.
lengthReturns the full length of the currently playing wav file.
pauseReturns $true if the currently playing wav file is paused, else it returns $false.
Example[edit]
Echo whether or not a wav file is playing to the active window
//echo -a $inwave
Echo the currently playing wav file's length to the active window
//echo -a $inwave.length
Compatibility[edit]
Added: mIRC v5.3
Added on: 13 Dec 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