Originally Posted by RLD
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.