I wrote the following short script to help me in an online game. It is designed to wait for a specific message and harvest a letter (A, B, or C) from that message, then use that to send a response at the proper time. For example: it will wait for the game server to send "Hit in range "A"" and...