$vol

From Scriptwiki
Jump to: navigation, search

Returns the current volume for the specified sound setting.

$vol(wave|midi|song|master)[.mute]

The mute property returns the relative mute setting.

Example

$vol(wave)

Returns the wave volume.

$vol(master).mute

Returns $true if the master volume is muted, $false if otherwise.

See Also