From WikiChip
mirc/identifiers/$vol
< mirc‎ | identifiers
Revision as of 17:01, 23 June 2014 by Zmodem (talk | contribs) (Created $vol identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

ON MIDIEND Event

ON WAVEEND Event

ON WAVEEND Event

/splay

/vol

$inmidi

$insong

$inwave

$sound