From WikiChip
Editing mirc/identifiers/$vol
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | '''Note:''' This command is also a part of the [[Playing music - mIRC|playing music]] section. | |
− | |||
+ | '''$vol''' can be used to retrieve the current volume, from the Windows audio control, for the specified sound type parameter. | ||
== Synopsis == | == Synopsis == | ||
Line 8: | Line 8: | ||
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 70px;">'''wave'''</span>Returns the current volume for wave files. | + | <span style="display: inline-block; width: 70px;">'''wave'''</span>Returns the current volume for wave files. |
− | <span style="display: inline-block; width: 70px;">'''midi'''</span>Returns the current volume for midi files. | + | |
− | <span style="display: inline-block; width: 70px;">'''song'''</span>Returns the current volume for mp3, ogg, and wma files. | + | <span style="display: inline-block; width: 70px;">'''midi'''</span>Returns the current volume for midi files. |
+ | |||
+ | <span style="display: inline-block; width: 70px;">'''song'''</span>Returns the current volume for mp3, ogg, and wma files. | ||
+ | |||
<span style="display: inline-block; width: 70px;">'''master'''</span>This returns the master control volume setting for overall system volume. | <span style="display: inline-block; width: 70px;">'''master'''</span>This returns the master control volume setting for overall system volume. | ||
Line 17: | Line 20: | ||
== Examples == | == Examples == | ||
− | Echo the mute status for mp3 files to the active window | + | '''Echo the mute status for mp3 files to the active window''' |
<source lang="mIRC">//echo -a $vol(song).mute</source> | <source lang="mIRC">//echo -a $vol(song).mute</source> | ||
− | Echo the current master system volume to the active window | + | '''Echo the current master system volume to the active window''' |
<source lang="mIRC">//echo -a $vol(master)</source> | <source lang="mIRC">//echo -a $vol(master)</source> | ||
== Compatibility == | == Compatibility == | ||
− | + | Added: mIRC v6.0 | |
+ | |||
+ | Added On: 03/02/2002 | ||
+ | |||
+ | == See Also == | ||
+ | [[On midiend - mIRC|ON MIDIEND Event]] | ||
+ | |||
+ | [[On songend - mIRC|ON WAVEEND Event]] | ||
+ | |||
+ | [[On waveend - mIRC|ON WAVEEND Event]] | ||
+ | |||
+ | [[/splay command - mIRC|/splay]] | ||
+ | |||
+ | [[/vol command - mIRC|/vol]] | ||
+ | |||
+ | [[$inmidi identifier - mIRC|$inmidi]] | ||
+ | |||
+ | [[$insong identifier - mIRC|$insong]] | ||
+ | |||
+ | [[$inwave identifier - mIRC|$inwave]] | ||
− | + | [[$sound identifier - mIRC|$sound]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category:mIRC identifiers | + | [[Category:mIRC identifiers]] |