r/WoWMacros • • 19h ago

Cycle between music modes

1 Upvotes

Made a macro to cycle between the music settings on, off and loop:

/run local s,m,l=SetCVar,"Sound_EnableMusic","Sound_ZoneMusicNoDelay"if GetCVar(m)=="0"then s(m,1)s(l,0)print("Music: On")elseif GetCVar(l)=="0"then s(l,1)print("Music: Loop")else s(m,0)print("Music: Off")end