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

(Created $inmidi identifier - mIRC)
 
m
Line 38: Line 38:
  
 
[[$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.

$insong returns whether or not an mp3, wma, or ogg file is currently playing.

Synopsis

$insong[.property]

Properties

fnameReturns the file name of the currently playing mp3, wma, or ogg file.

posReturns the current position that the player is playing the mp3, wma, or ogg at.

lengthReturns the full length of the currently playing mp3, wma, or ogg file.

pauseReturns $true if the currently playing mp3, wma, or ogg file is paused, else it returns $false.

Example

Echo whether or not a mp3, wma, or ogg file is playing to the active window

//echo -a $insong

Compatibility

Added: mIRC v6.0

Added On: 03/02/02

See Also

/splay

/wavplay Deprecated

/vol

$insong

$inwave

$sound

$vol