I don't get any taint errors with this:
Code:
local f = CreateFrame('Frame')
f:RegisterEvent('PLAYER_LOGIN')
f:SetScript('OnEvent', function(self, event)
if (event == 'PLAYER_LOGIN') 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')
_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["TutorialFrame"]:Hide() -- plox im no nub
_G["TutorialFrame"]:UnregisterAllEvents()
_G["Advanced_UseUIScale"]:Hide()
_G["Advanced_UIScaleSlider"]:Hide()
ChatFrame1:ClearAllPoints()
ChatFrame1:SetPoint('BOTTOMLEFT', UIParent, 'BOTTOMLEFT', 11, 13)
ChatFrame1:SetHeight(107)
ChatFrame1:SetWidth(452)
FCF_Close(ChatFrame2)
for i = 1, NUM_CHAT_WINDOWS do
local ChatFont = _G[format("ChatFrame%s", i)]
FCF_SetChatWindowFontSize(nil, ChatFont, 12)
end
end
end)
And please use the tabulator not the space bar
Btw:
Message: ...nterface\AddOns\AftermathhUI\AftermathhUI_Launch.lua:37: attempt to index field 'InterfaceOptionsSocialPanelWhisperMode' (a nil value)
Time: 04/16/11 14:20:52
Count: 1
Stack: ...nterface\AddOns\AftermathhUI\AftermathhUI_Launch.lua:37: in function <...nterface\AddOns\AftermathhUI\AftermathhUI_Launch.lua:3>
Locals: self = <unnamed> {
0 = <userdata>
}
event = "PLAYER_LOGIN"
(*temporary) = nil
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = <userdata>
(*temporary) = true
(*temporary) = true
(*temporary) = true
(*temporary) = true
(*temporary) = nil
(*temporary) = "attempt to index field 'InterfaceOptionsSocialPanelWhisperMode' (a nil value)"
|