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

(Created $inwave identifier - mIRC)
 
m (See Also)
Line 36: Line 36:
  
 
[[/vol command - mIRC|/vol]]
 
[[/vol command - mIRC|/vol]]
 +
 +
[[$inmidi identifier - mIRC|$inmidi]]
  
 
[[$insong identifier - mIRC|$insong]]
 
[[$insong identifier - mIRC|$insong]]
 
[[$inwave identifier - mIRC|$inwave]]
 
  
 
[[$sound identifier - mIRC|$sound]]
 
[[$sound identifier - mIRC|$sound]]
  
 
[[$vol identifier - mIRC|$vol]]
 
[[$vol identifier - mIRC|$vol]]

Revision as of 16:04, 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