Hide Runebar Addon/Macro Help

Hey all, my macro to hide my runebar on my dk: RuneFrame:Hide() works in game via a script but each time I go to a new zone I have to run it again. When I make it an addon it doesn’t have my runebar off from the get go, any ideas?

FYI in game I run the macro /run RuneFrame:Hide()

Thanks in advance.

If you never want to see the bar:

/run RuneFrame:HookScript("OnShow", function(self) self:Hide() end) RuneFrame:Hide()

remove the /run to turn it into an addon.

1 Like

Thank you kindly, did the trick.