From WikiChip
mirc/identifiers/$inwave
< mirc‎ | identifiers
Revision as of 16:04, 23 June 2014 by Zmodem (talk | contribs) (Created $inwave identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

$insong

$inwave

$sound

$vol