View Single Post
01-05-14, 05:12 AM   #13
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by RLD View Post
then tried to do a CastSpellByName("Mark of the Wild",name) to see if I could buff 'name'
CastSpellByName has not been available to addons since before the Burning Crusade, almost 7 years ago. You should probably read:

(1) The list of things addons can't do. It's a sticky thread in this very forum.

(2) The WoW API documentation on Wowpedia or WoW Programming. Both will tell you whether it's even possible for you to use the function, and if so, how you should use it.

If you want any more specific help, you're going to have to be a lot more specific about what you want to do (big picture wise, eg. "I want to keep my raid buffed"). You're talking about names and OnClick scripts in your post, but I have no idea what you're actually talking about. Finally, if you want help with code, you need to show the code.
__________________
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