Toggle dialog on/off

/run local k,v = "Sound_EnableDialog" v = C_CVar.GetCVar(k) C_CVar.SetCVar(k, 1 - v) print(k .. (v == "1" and " Disabled" or " Enabled"))
1 Like