Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
quirk
Novice


Joined: 16 Aug 2003
Posts: 31
Location: USA

PostPosted: Sun Aug 17, 2003 8:23 am   

Nother program question
 
Could I get some assistance in writing a script where i would type like
fixit 1800-1899 or something like that basically it would start at 1800
and do....
redit 1800
3
4
0
4
9
q
y
then i want it to increment 1 and do same stuff with redit 1801 and all the way to 1899.


Any help would be appriciated.
Thanks
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Aug 17, 2003 8:53 am   
 
This should do about 20 iterations per minute. You can adjust the speed by varying the #WAIT number. If you aren't concerned about spamming out your connection you can remove the #WAIT.
#LOOP 1800,1899 {redit %i;3;4;0;4;9;q;y;#WAIT 3000}
Reply with quote
quirk
Novice


Joined: 16 Aug 2003
Posts: 31
Location: USA

PostPosted: Sun Aug 17, 2003 8:58 am   
 
You guys are awsome.... thats two questions today and two questions answered very fast and both work...

Thank you very much
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net