Please see the [style guide](http://www.ganggarrison.com/forums/index.php?topic=34239.0).

Conditionals should have braces around them, so:

    if (global.respawntimer == 1)

There's another problem with this code though. Immediately following this code is another conditional, so it should be within curly braces. And you've indented the else statement. Oh, and you should put that "time += 1" on another line. In fact, I won't even bother listing everything wrong with this code, because it's unreadable in this form so I'm not even sure what it should look like.