I’m trying to adjust a WA that provides a button to click for missing buff. I want it to try to use the Fleeting Iced Phials of Corrupting Rage (from the cauldron) before it hits my personal stash. I have tried both with and without the “;”
if not aura_env.clickableFrame then
local r = aura_env.region
aura_env.clickableFrame = CreateFrame(“Button”, “ConsumeButton”, r, “SecureActionButtonTemplate”)
end
aura_env.clickableFrame:SetAllPoints()
aura_env.clickableFrame:RegisterForClicks(“LeftButtonDown”, “LeftButtonUp”)
aura_env.clickableFrame:SetAttribute(“type”, “macro”)
aura_env.clickableFrame:SetAttribute(“macrotext”, [[
/use item:204654;
/use item:191329;
/click StaticPopup1Button1
]])