Is this script violating any Blizzard rules?

/script cT = UnitCreatureType(“target”);if cT == “Undead” or cT == “Dragonkin” or cT == “Hidden” then tT = strjoin(“”, “Track “, cT) else tT = strjoin(””, "Track ", cT, “s”) end;CastSpellByName(tT);

If you can do it in-game its extremely unlikely to be a violation.

That said, I’m pretty certain that won’t work in combat.

It works perfectly fine. What this macro does is to track the type the target has when I press the macro button. I want to use it on my hunter.

Mhmm I understand what it does.

If you can do it in-game, it’s fine. At worst they change something in the code so this is no longer possible if they deem it a violation.

This script is very simple straightforward code, does not use any hacks. I’m pretty sure it’s absolutely safe to use.

To save few characters you can use /run instead of /script

Nope, it’s not violating anything. Blizzard made sure CastSpellByName won’t violate anything. It will refuse to work with any spell that is not allowed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.