From WikiChip
Difference between revisions of "mirc/identifiers/$insong"
m (Bot: Adding a template (template:mIRC identifier list)) |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''Note:''' This command is also a part of the [[Playing music - mIRC|playing music]] section. | + | {{mirc title|$insong Identifier}}'''Note:''' This command is also a part of the [[Playing music - mIRC|playing music]] section. |
'''$insong''' returns whether or not an mp3, wma, or ogg file is currently playing. | '''$insong''' returns whether or not an mp3, wma, or ogg file is currently playing. | ||
+ | |||
== Synopsis == | == Synopsis == | ||
− | <pre>$insong | + | <pre>$insong</pre> |
== Properties == | == Properties == | ||
Line 20: | Line 21: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|6.0}} | |
− | |||
− | |||
− | == See | + | == See also == |
* [[Playing Music - mIRC|Playing Music]] | * [[Playing Music - mIRC|Playing Music]] | ||
* [[On midiend - mIRC|ON MIDIEND]] | * [[On midiend - mIRC|ON MIDIEND]] | ||
Line 30: | Line 29: | ||
* [[On nosound - mIRC|ON NOSOUND]] | * [[On nosound - mIRC|ON NOSOUND]] | ||
* [[On waveend - mIRC|ON WAVEEND]] | * [[On waveend - mIRC|ON WAVEEND]] | ||
− | * | + | * {{mIRC|$inmidi}} |
− | * | + | * {{mIRC|$inwave}} |
− | * | + | * {{mIRC|$sound}} |
− | * | + | * {{mIRC|$vol}} |
− | * | + | * {{mIRC|/splay}} |
− | * | + | * {{mIRC|/vol}} |
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|insong]] |
Latest revision as of 15:17, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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[edit]
$insong
Properties[edit]
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[edit]
Echo whether or not a mp3, wma, or ogg file is playing to the active window
//echo -a $insong
Compatibility[edit]
Added: mIRC v6.0
Added on: 03 Feb 2002
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC identifier list