Captainchaos
06-29-2005, 01:27 AM
I am sorry if I am posting something that has already been posted but I'm not sure if Im even looking at the right problem here.
Can Cosmos interfere with script call signs?
no matter what kind of script I right (read: copy & paste) I get the same message:
castspellbyname = nil value (for short)
did I need to do anything other than make my script in the macro section of the standard interface?
This is the script for reference:
/script P="player" T="target" S="Holy Light(Rank 7)"
/script if (UnitExists(T) and UnitIsFriend(P,T)) then CastSpellByName(S) else TargetUnit(P) CastSpellByName(S) TargetLastEnemy() end
yeah I stole this from some place else.
Essentially I wanted a script that would allow me to cast holy light and announce it in group chat so others would know I was doing it. Secondly it also had to work on myself if I was out of combat. Sort of a cureall for the holy light button.
Thanks for your help and patience
Can Cosmos interfere with script call signs?
no matter what kind of script I right (read: copy & paste) I get the same message:
castspellbyname = nil value (for short)
did I need to do anything other than make my script in the macro section of the standard interface?
This is the script for reference:
/script P="player" T="target" S="Holy Light(Rank 7)"
/script if (UnitExists(T) and UnitIsFriend(P,T)) then CastSpellByName(S) else TargetUnit(P) CastSpellByName(S) TargetLastEnemy() end
yeah I stole this from some place else.
Essentially I wanted a script that would allow me to cast holy light and announce it in group chat so others would know I was doing it. Secondly it also had to work on myself if I was out of combat. Sort of a cureall for the holy light button.
Thanks for your help and patience