View Single Post
05-10-14, 11:52 AM   #13
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by cokedrivers View Post
Will try the new event this evening when I get home. As for the frame name do you think "LFGQueueCountdown" and "PVPQueueCountdown" would work for names cause i remember you saying i need to make them different so other addons or the main ui dont cross.
Log into the game and type "/dump LFGQueueCountdown" -- if you see anything other than "empty result" then that name is already taken.

However, in addition to your globals being unique, you should also make them identifiable as belonging to your addon -- this way you don't have to check if they're already used by some other addon, and other authors following the same best practice also don't have to check other addons to see if the name is in use.

However #2, there's no reason to give these things you're creating global names at all, since you're not using Blizzard templates that require them.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote