I never akimbo for my scripts. Does that mean you're not using any of mine? :((
Toggle mute with M:
Change volume by scrolling mousewheel while holding down comma, click mousewheel to see volume %.
Toggle mute with M:
[SELECT ALL] Code:
oldvol = 128 //If AC starts with soundvol 0 it will default to soundvol 128
alias mute [if (= $soundvol 0) [soundvol $oldvol; echo "AssaultCube unmuted"] [oldvol = $soundvol; soundvol 0; echo "AssaultCube muted"]]
bind M [ if $editing [ domodifier 6 ] [mute]]
Change volume by scrolling mousewheel while holding down comma, click mousewheel to see volume %.
[SELECT ALL] Code:
bind COMMA [ if $editing [ equalize 0 ] [ domodifier 20; vol_echo = 1; onrelease [vol_echo = 0] ] ]
echovolumepercent = [unroundedvol = [*f (divf $soundvol 255) 100]; if (>= (+f (unroundedvol) 0.5) (+ (unroundedvol) 1.0)) [roundedvol = (+ (unroundedvol) 1)] [roundedvol = (+ (unroundedvol) 0)]; echo (concatword "Volume: " $roundedvol "%")]
bind MOUSE3 [weapon; echovolumepercent]