Help please
I have this macro to toggle Auto-Loot on and off. It works fine except the Print message always says Off never On when I use the macro.
/run SetCVar("autoLootDefault",1-GetCVar("autoLootDefault")) print(("AutoLoot is %s"):format((GetCVar("autoLootDefault")==1) and "on" or "off"))
|