If's & else if's without void loop

sounds good, thanks a lot for your help!