View Single Post
11-07-11, 07:36 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Also, the return value of GetPrimaryTalentTree is a number, not a string, so that part of your check will fail:

Code:
if cfg.playername == "Windblossom" and cfg.playerclass == "DRUID" and cfg.talentree == "3" then
Remove the quotes from around the 3.
  Reply With Quote