1. Correct. You should take out the .lua file from the .toc file.
2. You misspelled RegisterEvent as RegesterEvent
3. Just run your function.
/run GLUA.OnEvent("PLAYER_LEVEL_UP")
should do it from your chat.
__________________
Author of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, GatherMate2, Routes and Cartographer_Routes
|