Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Dragget

    More efficient code?

    OK, here it is with the "Strike" routine rolled into the main process. string HitLtr proc main while $CARRIER == 1 waitfor "Hit range in `"" FOREVER rget HitLtr 1 switch HitLtr case "A" waitfor "A" FOREVER endcase case "B" waitfor "B" FOREVER endcase case "C" waitfor "C"...
  2. Dragget

    More efficient code?

    Good point, Knob. I did end up adding the FOREVER parameter to those waitfor commands, and it improved the script somewhat. The reason I wrote it in the first place was because network lag was intermittently occuring, making it difficult for me to judge the pacing accurately when playing without...
  3. Dragget

    More efficient code?

    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...

Part and Inventory Search

Back
Top