MoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
BuyGuildCharter(self:GetText());
HideUIPanel(GuildRegistrarFrame);
ChatEdit_FocusActiveWindow();
ChatEdit_FocusActiveWindow();
self:RegisterEvent("GUILD_REGISTRAR_SHOW");
self:RegisterEvent("GUILD_REGISTRAR_CLOSED");
if ( event == "GUILD_REGISTRAR_SHOW" ) then
ShowUIPanel(GuildRegistrarFrame);
if ( not GuildRegistrarFrame:IsShown() ) then
CloseGuildRegistrar();
end
elseif ( event == "GUILD_REGISTRAR_CLOSED" ) then
HideUIPanel(GuildRegistrarFrame);
end
GuildRegistrar_OnShow();
PlaySound("igQuestListOpen");
PlaySound("igQuestListClose");
CloseGuildRegistrar();