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

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

Revision as of 20:55, 25 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