Ok, for the timer, do this:
start_time# = Timer()
Do
`All your other code goes here
`This shows the time taken
time_taken# = Timer() - start_time#
Print time_taken#
Loop
And to stop it when the ship crashes, try this:
start_time# = Timer()
Do
`All your other code goes here
If ship crashed
end_time# = Timer() - start_time#
Print "This took you: ";end_time#;" milliseconds."
EndIf
`This shows the time taken
time_taken# = Timer() - start_time#
Print time_taken#
Loop
Note that the end_time# and the time_taken# will represent the milliseconds that have gone by since just before your main loop started.
Note that the start_time# is a representation in milliseconds of how long your computer has been turned on for.

Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy