beginscript; label Checkx: if (OtherUnitDead(0x7847)) { KillOtherUnit(0x7805); EndFrame(); goto End; } else { if (OtherUnitDead(0x7805)) { EndFrame(); goto End; } } EndFrame(); goto Checkx; label End: EndFrame(); goto End; endscript; $