Hello Im trying to make a macro to block unshift when in combat and I know theres this command
/run C_CVar.SetCVar(“autoUnshift”,0)
that blocks unshift but i want to make a macro that on first press toggles it on and on 2nd press toggles it off and goes back and forth. Would anyone know how?
Thanks in advance
I realize that the command itself wont work in combat, but I meant I want a button to do this outside of combat on my bar so im not required to copy paste the command everytime between encounters
Create a macro with this and place it on your actionbar
/run local unShift = not GetCVarBool("autoUnshift") C_CVar.SetCVar("autoUnshift", unShift and 1 or 0) print("Auto Unshift:", GetCVarBool("autoUnshift") and "\124cff00ff00ON" or "\124cffff0000OFF")
2 Likes
https://www.curseforge.com/wow/addons/elfyaus-autounshift
1 Like