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

m (See Also)
m (See Also)
Line 44: Line 44:
  
 
[[$vol identifier - mIRC|$vol]]
 
[[$vol identifier - mIRC|$vol]]
 +
 +
[[Category:mIRC identifiers]]

Revision as of 18:33, 23 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

ON WAVEEND Event

/splay

/wavplay Deprecated

/vol

$inmidi

$insong

$sound

$vol