beginscript; label Checkx: if (OtherUnitDead(0x7824)) { KillOtherUnit(0x7840); KillOtherUnit(0x7828); EndFrame(); goto End; } else { if ( OtherUnitDead(0x7828) && OtherUnitDead(0x7840) ) { EndFrame(); goto End; } } EndFrame(); goto Checkx; label End: EndFrame(); goto End; endscript; $