View Single Post
07-25-14, 09:52 AM   #3
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
That must be a very old AddOn. Almost nobody registers and uses VARIABLES_LOADED. Instead, if you need it check when entering the world OR every UI reload, PLAYER_ENTERING_WORLD is used. If you only need it to check one time, use PLAYER_LOGIN, do processing, and unregister PLAYER_LOGIN in the same function.

You could even use ADDON_LOADED, and handle it that way.

The trouble with VL, iirc, is that its load order is inconsistent.

Also, next time please use the [ code ] [ /code ] tags, or the # symbol in the tools above. You may have to change your WowI forum settings to get the full toolset to display. For your short piece of code, the quote is okay, I guess, but the formatting is ruined and makes it harder to read.

Last edited by myrroddin : 07-25-14 at 10:12 AM. Reason: ADDON LOADED
  Reply With Quote