alright I'm vary new to Lua and add-on coding, Trying to create an add-on that removes my party frames on log in.
Code:
function MyAddon_OnLoad()
HidePartyFrame:SetScript("OnEvent", nil);
HidePartyFrame();
end
now either something wrong with it, or I'm missing a vital step in the add-on creating process, any help?