How do i get my if to repeat untill another if value is entered.

Also referring to the person sayng they dont like the ( == ) i haven't had any issues with that. my resistor dropper holds very well

A non sequitur if ever there was one.
Look up the difference between = and ==

Pete