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