View Single Post
Old 09-05-10, 08:03 PM   #2
ChaosInc
Curse staff
 
ChaosInc's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 670
Change your highlight to "lua" instead of the default (highlight=lua). The coloring for the PHP is terrible.

Are you asking how to do it, what's wrong with your code (it does have an error I noticed) or just a guide? Lack of ending punctuation in your subject leaves this question.

As far as the error, you're missing brackets around your UnregisterEvent param.

Code:
self:UnregisterEvent("ADDON_LOADED")
__________________
Originally posted by Mirrikat45
so says the 1/2 million downloads per week.......
Impossible statistics = FAIL!! But don't point this out, or your post will be deleted!

Last edited by ChaosInc : 09-05-10 at 08:07 PM.
ChaosInc is offline   Reply With Quote