beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0xffffffff); IncTargetType(0x80); IncTargetType(0x2); IncludeGTarget(2); SetFollowRange(0); EndFrame(); goto End; } EndFrame(); goto Wait; label End: EndFrame(); goto End; endscript; $