Conditional statement help

Nevermind I had the code wrong. It works now! Thanks so much. Now to add the rest of the inputs and work out the serial posts, as well as the debounce. I could imagine the way the float switches work that could be an issue.