Ah, yeah, I remember that much about programming languages; IIRC, curly brackets tend to be used as BEGIN and END, and a semicolon in C is used to tell the compiler that it's reached the end of a command. I also know how if-then clauses work.
I reduced the indentation like you said, and that...