View unanswered posts | View active topics It is currently Sun Sep 27, 2020 8:11 pm



Reply to topic  [ 1 post ] 
 twx scripting help 
Author Message
Gunnery Sergeant

Joined: Wed Apr 04, 2001 2:00 am
Posts: 20
Unread post 
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.


Fri Aug 03, 2001 9:43 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.