View Single Post
10-06-14, 12:49 PM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
You are allowed to use CastSpellByID/CastSpellByName with professions spells (eg. CastSpellByName("Alchemy") to open the tradeskill frame for alchemy) but not for actual spells. Either pet spells are also allowed, or this specific spell is allowed by accident. I would recommend against using either function at all, though, as there are other ways to open the tradeskill frame, and you probably should not be auto-casting pet spells from an addon, as if the spell is being allowed by accident, such behavior may flag your account as using some kind of bot or hack.
__________________
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