Nested If statements

Is there a way to navigate from scene to scene with nested if statements?