View Single Post
09-05-10, 08:03 PM   #2
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 680
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")

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