So I want to create a macro to load Guild and Communities dialog; got...
Code:
/script LoadAddOn("Blizzard_Communities")
/script if (CommunitiesFrame:IsShown()) then CommunitiesFrame:Hide() else CommunitiesFrame:Show() end
Works great, one problem the frame's location, it's screen-centered rather than placed normally. I thought there was a global function that does toggle of blizzard frames properly... Any idea what it's called?