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


Joined: 10 Jan 2002
Posts: 5
Location: USA

PostPosted: Mon Jan 14, 2002 2:14 am   

need help with a walking robot script
 
I want to run a #slow xxxx and have it stop at every new room, do the command POWER, wait for the roundtime, then #step to move to the next room. Everything is fine, except #step repeats the last direction instead of the next one. If the route is n,s,e it'll go north, do power, check the experience, then #step and try to move north again. "RT" is a variable that gets set whenever the game gives me roundtime. It works correctly.

The trigger is for ^Obvious*: which is what will always be displayed by the game at a new room. (Obvious paths:, Obvious exits:, etc)

#STOP
#IF (@continue=1) {
#WAIT %random( 1200, 1670)
power
#ALARM +2 {
exp power perceive
#ALARM +@RT {
#SAY stepping...
#STEP
}
}
} {#T- PP}
Reply with quote
Reddytedy
Apprentice


Joined: 13 Oct 2000
Posts: 114
Location: USA

PostPosted: Mon Jan 14, 2002 6:48 am   
 
Try replacing #STOP with #PAUSE

Alan
Reply with quote
Penance
Newbie


Joined: 10 Jan 2002
Posts: 5
Location: USA

PostPosted: Mon Jan 14, 2002 6:56 am   
 
I love you ;)
See, I was going by what Zugg said to do in his tutorial. The hardest thing about learning ZMUD for me is not knowing what commands/techniques are available!

Thanks again.
Reply with quote
Reddytedy
Apprentice


Joined: 13 Oct 2000
Posts: 114
Location: USA

PostPosted: Mon Jan 14, 2002 6:58 am   
 
Ack now I gotta find out who you are in DR and kill ya for saying you love me!

Irgh!

Alan
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