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:
{{mirc title|$vol Identifier}}'''$vol''' can be used to retrieve the current volume, from the Windows audio control, for the specified sound type parameter.
+
{{mirc title|$vol Identifier}}'''Note:''' This command is also a part of the [[Playing music - mIRC|playing music]] section.
  
'''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.<br />
+
<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.<br />
+
 
<span style="display: inline-block; width: 70px;">'''song'''</span>Returns the current volume for mp3, ogg, and wma files.<br />
+
<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>
  
Line 26: Line 29:
 
{{mIRC compatibility|5.8}}
 
{{mIRC compatibility|5.8}}
  
== See also ==
+
== See Also ==
 
* [[Playing Music - mIRC|Playing Music]]
 
* [[Playing Music - mIRC|Playing Music]]
 
* [[On midiend - mIRC|ON MIDIEND]]
 
* [[On midiend - mIRC|ON MIDIEND]]
Line 40: Line 43:
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:mIRC identifiers|vol]]
+
[[Category:MIRC identifiers]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)