So i have this macro that just makes my UI look better but i was wondering if there is anyway i can have the macro start whenever i open the game so that i dont have to click it myself (Im too lazy). So is there any addon or something that can do this for me?
1 Like
You can put that macro code into https://addon.bool.no/
, and that’ll get the job done, I think.
If it doesn’t:
local MyAddon = CreateFrame("Frame")
function OnWorldEnter()
-- Replace this line with the macro code, without /run
end
MyAddon:RegisterEvent("PLAYER_ENTERING_WORLD")
MyAddon:SetScript("OnEvent", OnWorldEnter)
Put that into AddOns/MyAddon/MyAddon.lua
, along with a TOC file:
## Interface: 90005
MyAddon.lua
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.