0
-
Little tip in case you don't know.
You can press Ctrl+B when you're near a brace and it'll highlight the brace it's closing/opening for.
-
For future reference, this is usually caused by a missing " at the end of a string.
That's pretty much right. AGS is usually pretty good at telling you if you're missing a brace. Usually you would get (at least) an error that you can't have nested functions (unless the missing bracket was in the very last function in the script). It doesn't however detect improperly terminated string literals (i.e., quote-encapsulated text like "this" when they are missing a closing quote like "this) very nicely.
-