Originally Posted by Sniffles
Can you show me your full code, please? I want to test it.
|
Code:
local f = CreateFrame('Frame')
f:RegisterEvent('PLAYER_LOGIN')
f:SetScript('OnEvent', function(self, event)
if (event == 'PLAYER_LOGIN') then
if AftermathhUI.config.loginmessage == true then
print('|cff8080ffWelcome To Aftermathh UI|r')
print('|cff8080ffIf you find a bug, please report @ Wowinterface|r')
print('|cff8080ffFor help with this UI, type in /UIHelp|r')
print('|cff8080ffHope you enjoy Aftermathh UI!|r')
end
_G["InterfaceOptionsFrameCategoriesButton6"]:SetScale(0.00001) -- Nah we got bartender its okey.
_G["InterfaceOptionsFrameCategoriesButton6"]:SetAlpha(0) -- Nah we got bartender its okey.
_G["InterfaceOptionsFrameCategoriesButton10"]:SetScale(0.00001) -- nah we got oUF
_G["InterfaceOptionsFrameCategoriesButton10"]:SetAlpha(0) -- nah we got oUF
_G["InterfaceOptionsFrameCategoriesButton11"]:SetScale(0.00001) -- nah we got oUF
_G["InterfaceOptionsFrameCategoriesButton11"]:SetAlpha(0) -- nah we got oUF
_G["InterfaceOptionsFrameCategoriesButton9"]:SetScale(0.00001) -- nah we got oUF
_G["InterfaceOptionsFrameCategoriesButton9"]:SetAlpha(0) -- nah we got oUF
_G["InterfaceOptionsFrameCategoriesButton12"]:SetScale(0.00001) -- Don't really think this works with oUF hehe
_G["InterfaceOptionsFrameCategoriesButton12"]:SetAlpha(0) -- Don't really think this works with oUF hehe
_G["InterfaceOptionsFrameCategoriesButton16"]:SetAlpha(0) -- don't need any stupied nubie stuff
_G["InterfaceOptionsFrameCategoriesButton16"]:SetScale(0.00001) -- don't need any stupied nubie stuff
_G["InterfaceOptionsCombatPanelNameplateClassColors"]:Hide() -- wanna show nameplates of enemys class colored all the time
_G["CompactRaidFrameContainer"]:Hide()
_G["CompactRaidFrameContainer"]:UnregisterAllEvents()
_G["CompactPartyFrame"]:Hide()
_G["CompactPartyFrame"]:UnregisterAllEvents()
_G["CompactRaidFrameManager"]:Hide()
_G["CompactRaidFrameManager"]:UnregisterAllEvents()
_G["InterfaceOptionsSocialPanelTimestamps"]:Hide() -- we got our own time stamps
_G["InterfaceOptionsSocialPanelChatStyle"]:Hide() -- we don't like I'M STYLE
_G["InterfaceOptionsSocialPanelWhisperMode"]:Hide() -- wtf?
_G["InterfaceOptionsSocialPanelBnWhisperMode"]:Hide() -- wtf?
_G["InterfaceOptionsSocialPanelConversationMode"]:Hide() -- wtf?
_G["TutorialFrame"]:Hide() -- plox im no nub
_G["TutorialFrame"]:UnregisterAllEvents()
_G["Advanced_UseUIScale"]:Hide()
_G["Advanced_UIScaleSlider"]:Hide()
if AftermathhUI.config.chatposistion == true and AftermathhUI.config.bottompanel == true then
ChatFrame1:ClearAllPoints()
ChatFrame1:SetPoint('BOTTOMLEFT', UIParent, 'BOTTOMLEFT', 11, 30)
ChatFrame1:SetHeight(91)
ChatFrame1:SetWidth(449)
end
if AftermathhUI.config.bottompanel == false then
ChatFrame1:ClearAllPoints()
ChatFrame1:SetPoint('BOTTOMLEFT', UIParent, 'BOTTOMLEFT', 11, 13)
ChatFrame1:SetHeight(107)
ChatFrame1:SetWidth(452)
end
if AftermathhUI.config.nocombatlog == true then
FCF_Close(ChatFrame2)
end
for i = 1, NUM_CHAT_WINDOWS do
local ChatFont = _G[format("ChatFrame%s", i)]
FCF_SetChatWindowFontSize(nil, ChatFont, AftermathhUI.config.chatfontsize)
end
end
end)