From WikiChip
Difference between revisions of "mirc/identifiers/$insong"
(Created $inmidi identifier - mIRC) |
m |
||
(10 intermediate revisions by 3 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}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[$sound | + | == See also == |
+ | * [[Playing Music - mIRC|Playing Music]] | ||
+ | * [[On midiend - mIRC|ON MIDIEND]] | ||
+ | * [[On mp3end - mIRC|ON MP3END]] | ||
+ | * [[On nosound - mIRC|ON NOSOUND]] | ||
+ | * [[On waveend - mIRC|ON WAVEEND]] | ||
+ | * {{mIRC|$inmidi}} | ||
+ | * {{mIRC|$inwave}} | ||
+ | * {{mIRC|$sound}} | ||
+ | * {{mIRC|$vol}} | ||
+ | * {{mIRC|/splay}} | ||
+ | * {{mIRC|/vol}} | ||
+ | {{mIRC identifier list}} | ||
− | [[ | + | [[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