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
torm_ins
Newbie


Joined: 23 Feb 2003
Posts: 4
Location: USA

PostPosted: Sun Feb 23, 2003 11:08 pm   

scripts
 
could someone help me with a basic script to go through like 3 rooms killing monsters/eating food and recalling back to first room?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Feb 24, 2003 8:59 pm   
 
#VAR nextroom {e|s|w}
#AL gokill {#VAR roomcounter 1;%item( @nextroom, 1);eat food;kill monster}
#TR {is DEAD} {#IF (@roomcounter < 3) {%item( @nextroom, @roomcounter + 1);#ADD roomcounter 1;eat food;kill monster} {recall}}

LightBulb
Advanced Member
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