@01101101 :
No the indentation is not fucked up, see that
here for example, it well indented in few editors I have. I'm using four space as one tab. ( config in notepad++ ). "
Idented with Notepad++ autoidenter" ; you better to not use that.
Concerning the automaton, I suggest you to see the
Pawn guide or
here.
__________________