i know that it is possible to have multiple conditions in a for loop. but is it separated by a comma or would it be separated by && like in an if statement?
You'll need to combine conditions with && or ||. Just in case you didn't know, the binary mathematical operators, & and | are lower precedent than comparson or logical operators, use parenthesis to avoid issues.