|
Penance Newbie
Joined: 10 Jan 2002 Posts: 5 Location: USA
|
Posted: 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} |
|
|
|
Reddytedy Apprentice
Joined: 13 Oct 2000 Posts: 114 Location: USA
|
Posted: Mon Jan 14, 2002 6:48 am |
Try replacing #STOP with #PAUSE
Alan |
|
|
|
Penance Newbie
Joined: 10 Jan 2002 Posts: 5 Location: USA
|
Posted: 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. |
|
|
|
Reddytedy Apprentice
Joined: 13 Oct 2000 Posts: 114 Location: USA
|
Posted: 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 |
|
|
|
|
|