in reply to ANDs and ORs
What you're doing wrong is attempting to exclusively use boolean operators for flow control rather than sanely using conditionals (i.e. if).