attempt to index global 'QuestGenie' (a nil value)
I am getting my feet wet on this whole mod thing and have found an example @ wowace.com in the tutorials that doesn't seem to work all that well. It gives me the following error when loading.
Message: ..\AddOns\WelcomeHome\WelcomeHome.lua line 6:
attempt to index global 'QuestGenie' (a nil value)
And here is the code.
-- Start
WelcomeHome = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")
function WelcomeHome:OnEnable()
-- Called when the addon is enabled
self:RegisterEvent("ZONE_CHANGED")
end
function WelcomeHome:ZONE_CHANGED()
self:Print("You have changed zones!")
end
--End
Any assistance would be appreciated.
|