beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0x2); IncTargetType(0x40); IncTargetType(0x1); IncludeGTarget(3); EndFrame(); goto End; } EndFrame(); goto Wait; label End: if (UnitDead()) { EndFrame(); goto Wait; } EndFrame(); goto End; endscript; $