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.