Tuesday, May 03, 2005

Pls Help w/ Macro

This is something of a follow-up to my previous macro post. I'd like to pare down that more complex macro into something that simply casts a spell and sends a message. No testing needed. I want to use this on my resurrection spell, Ancestral Healing Rank 3. Here's what I came up with:
/script CastSpellByName("Ancestral Spirit(Rank 4)")
SendChatMessage("Rez'ing %T","Say")
The problem I'm having is that this throws an error. I get something about expected near 'end'. WTF does that mean, and does anyone have ideas on fixing it? [Edit: Problem Solved! The recent patch that fixed a problem with the font now allows me to see that , is needed where some . are. Also, ";end" will generate an error in a simple script like this. It is only required to end condition testing. The above script has been updated, and now works.]

No comments: