| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| twx scripting help https://mail.black-squirrel.com/viewtopic.php?f=15&t=12874 |
Page 1 of 1 |
| Author: | Agent D [ Fri Aug 03, 2001 9:43 pm ] |
| Post subject: | |
I am attempting to learn to write twx scripts. I am however having a difficult time even getting it to repeat a procedure. IE: bust X number of planets. here is the script: getinput $dets "how many dets to buy each time?" getinput $torps "how many torpedos to buy each time?" getinput $times "how many planets to bust?" :bust send "psha" $dets "*t" $torps "*qq*" send "uytestscript*lzdy" subtract $times 1 if ($times <= 0) halt end end It starts then give a 'unknown error' message, ports, buys, creates, and blows 1 planet.... what am I doing wrong? I am a figment of your imagination. I am MIB. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|