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

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

Revision as of 20:56, 25 June 2014

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


$inwave returns whether or not a wav file is currently playing.

Synopsis

$inwave[.property]

Properties

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

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

Added: mIRC v5.3

Added On: 13/12/97

See Also