Thanks
Keeping in mind what you said, I tried this:
Code:
if (IsInGuild()) then
if (not IsAddOnLoaded("Blizzard_GuildUI")) then
local loaded, reason = LoadAddOn("Blizzard_GuildUI");
if not loaded then
echo("Blizzard_GuildUI not loaded: "..reason);
else
echo("**************** TEST *********************");
ToggleGuildFrame();
end;
else
ToggleGuildFrame();
end
end
But it doesn't work (my personal echo() function just displays a text in the chat box): the TEST message in well displayed but the guild frame is not shown. I suppose it is because this script is called on VARIABLES_LOADED event.
I was just trying to display guild frame when entering WoW in order to quickly see the connected guildmates.