as a healing pally i used to use a macro to heal which was amazing in 40 man raids and especially in Alterac Valley, the basic form of it is this
/script P=1;T='player';function F(a)h=UnitHealth(a);p=h/UnitHealthMax(a);if h>0 and P>p then P=p;T=a;end end F(T);for i=1,4 do p='party'..i;if p then F(p);end end TargetUnit(T);CastSpellByName('Spell Y(Rank ?)');TargetLastEnemy()
to make it work you jsut had to enter a little bit of info about your spells and such. i ripped it from a pally macro guide on the forums here.
http://forums.worldofwarcraft.com/th...210009&sid=1#0
but since they nerfed running "if-then" scripts it doesnt work anymore and give the "script blocked by blizzard's ui" error.
Does anybody know of a way to unblock running scripts in macros?
any help would be wonderful cause this macro is amazing for healing, it targets the player in range with lowest health and casts a set spell on them whether it be a heal, a buff, or you can set it to aggressive so you can just throw hammers at the horde with lowest healthe and steal all the killing blows....