MC-Synergy / MCSTurtleTracker

This is an application where you can track every turtle in the server in real-time.
2 stars 0 forks source link

Add option to error turtle #13

Closed crazyvinvin closed 1 year ago

crazyvinvin commented 1 year ago

when sending an emergency, often you don't want the turtle/computer to keep on going after that (because it's an emergency and something is probably very wrong.)

Add an optional paramater that lets us error() the turtle (with the same message) after sending an emergency message to mcst.

Josian2004 commented 1 year ago

@crazyvinvin You don't need to manually send an error message, if you let your turtle crash by doing error(errormsg) it will automatically send an error message to MCST. Is this sufficient?

crazyvinvin commented 1 year ago

Oh, that works too!