From WikiChip
Difference between revisions of "mirc/identifiers/$inmp3"
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
'''Note:''' This identifier is also a part of the [[Playing music - mIRC|playing music]] section. | '''Note:''' This identifier is also a part of the [[Playing music - mIRC|playing music]] section. | ||
+ | |||
== Synopsis == | == Synopsis == | ||
Line 17: | Line 18: | ||
<span style="display: inline-block; width: 80px;">'''.length'''</span>Returns the length of the mp3. | <span style="display: inline-block; width: 80px;">'''.length'''</span>Returns the length of the mp3. | ||
+ | |||
+ | <span style="display: inline-block; width: 80px;">'''.pause'''</span>Returns $true if an mp3 is currently paused, $false otherwise | ||
== Example == | == Example == | ||
Line 24: | Line 27: | ||
{{mIRC compatibility|5.8}} | {{mIRC compatibility|5.8}} | ||
− | == See | + | == See also == |
* [[Playing Music - mIRC|Playing Music]] | * [[Playing Music - mIRC|Playing Music]] | ||
* [[On midiend - mIRC|ON MIDIEND]] | * [[On midiend - mIRC|ON MIDIEND]] | ||
Line 37: | Line 40: | ||
* {{mIRC|/splay}} | * {{mIRC|/splay}} | ||
* {{mIRC|/vol}} | * {{mIRC|/vol}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|inmp3]] |
Latest revision as of 15:16, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Note: This feature has essentially been replaced by $insong.$inmp3 return $true/$false if an mp3 is playing or information about the mp3 via some properties.
Note: This identifier is also a part of the playing music section.
Synopsis[edit]
$inmp3
Paramters[edit]
None
Properties[edit]
.fnameReturns the filename of the mp3 currently playing
.posReturns the position of the current mp3 playing
.lengthReturns the length of the mp3.
.pauseReturns $true if an mp3 is currently paused, $false otherwise
Example[edit]
//echo -a $inmp3
Compatibility[edit]
Added: mIRC v5.8
Added on: 05 Sep 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.