From WikiChip
Difference between revisions of "mirc/identifiers/$vol"
< mirc‎ | identifiers

m (See Also)
m (See Also)
Line 32: Line 32:
  
 
== See Also ==
 
== See Also ==
[[On midiend - mIRC|ON MIDIEND Event]]
+
* [[Playing Music - mIRC|Playing Music]]
 
+
* [[On midiend - mIRC|ON MIDIEND]]
[[On songend - mIRC|ON WAVEEND Event]]
+
* [[On mp3end - mIRC|ON MP3END]]
 
+
* [[On nosound - mIRC|ON NOSOUND]]
[[On waveend - mIRC|ON WAVEEND Event]]
+
* [[On waveend - mIRC|ON WAVEEND]]
 
+
* [[$inmidi identifier - mIRC|$inmidi]]
[[/splay command - mIRC|/splay]]
+
* [[$insong identifier - mIRC|$insong]]
 
+
* [[$inwave identifier - mIRC|$inwave]]
[[/vol command - mIRC|/vol]]
+
* [[$sound identifier - mIRC|$sound]]
 
+
* [[/splay command - mIRC|/splay]]
[[$inmidi identifier - mIRC|$inmidi]]
+
* [[/vol command - mIRC|/vol]]
 
 
[[$insong identifier - mIRC|$insong]]
 
 
 
[[$inwave identifier - mIRC|$inwave]]
 
 
 
[[$sound identifier - mIRC|$sound]]
 
  
 
[[Category:mIRC identifiers]]
 
[[Category:mIRC identifiers]]

Revision as of 19:56, 25 June 2014

Note: This command is also a part of the playing music section.


$vol can be used to retrieve the current volume, from the Windows audio control, for the specified sound type parameter.

Synopsis

$vol(wave | midi | song | master)

Parameters

waveReturns the current volume for wave files.

midiReturns the current volume for midi files.

songReturns the current volume for mp3, ogg, and wma files.

masterThis returns the master control volume setting for overall system volume.

Properties

muteReturns the current mute settings for the specified sound type parameter.

Examples

Echo the mute status for mp3 files to the active window

//echo -a $vol(song).mute

Echo the current master system volume to the active window

//echo -a $vol(master)

Compatibility

Added: mIRC v6.0

Added On: 03/02/2002

See Also