Hey,
I’m using this macro so I can stay in bear form when using Regrowth. The macro work great, it does everything I want it to do, but I do get an error.
/run C_CVar.SetCVar(“autoUnshift”,0)
#showtooltip
/targetenemy [noharm][dead]
/startattack
/cast Thrash
I’M GETTING THIS ERROR
5x [ADDON_ACTION_BLOCKED] AddOn ‘*** ForceTaint_Strong ***’ tried to call the protected function ‘UNKNOWN()’.
[string “@!BugGrabber/BugGrabber.lua”]:485: in function
[string “=[C]”]: ?
[string “=[C]”]: ?
[string “=[C]”]: in functionSetCVar' [string "C_CVar.SetCVar("autoUnshift",0)"]:1: in main chunk [string "=[C]"]: in function
RunScript’
[string “@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua”]:2296: in function?' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5479: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5425> [string "=[C]"]: ? [string "=[C]"]: in function
ChatEdit_ParseText’
[string “@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua”]:5131: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5130>
[string “=[C]”]: in functionChatEdit_SendText' ... [string "=[C]"]: in function
UseAction’
[string “@Blizzard_FrameXML/Mainline/SecureTemplates.lua”]:342: in function `handler’
[string “@Blizzard_FrameXML/Mainline/SecureTemplates.lua”]:667: in function <…ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:649>
[string “@Blizzard_FrameXML/Mainline/SecureTemplates.lua”]:681: in function <…ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:674>
[string “@Blizzard_FrameXML/Mainline/SecureTemplates.lua”]:723: in function <…ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:707>
[string “=[C]”]: ?
[string “@Blizzard_FrameXML/SecureHandlers.lua”]:266: in function <Blizzard_FrameXML/SecureHandlers.lua:263>
[string “=[C]”]: ?
[string “@Blizzard_FrameXML/SecureHandlers.lua”]:296: in function <Blizzard_FrameXML/SecureHandlers.lua:279>
[string “=(tail call)”]: ?Locals:
{
_ = Frame {
}
event = “ADDON_ACTION_BLOCKED”
events =
}Can I write this macro better? And one that avoids errors? Just wondering, thanks.