If's & else if's without void loop

Are you saying that after these maneuvers are performed then nothing else should happen until the Boe-bot is powered up again?