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
layzee
Beginner


Joined: 10 Feb 2003
Posts: 11
Location: United Kingdom

PostPosted: Tue Oct 07, 2003 12:04 pm   

Slow Walk Bot
 
Hi zMudders,

I've created a path for an area in the mud I play called pets, which just so happens to be the area - im interested in.

MUD output is as follows:

(25) small tigers standing here.

I have written the following trigger:

#TRIGGER {^~(%1~)} {#math berserks (%1/5);say %1;#if {%1 > 4} {#stop;#loop 1,@berserks {b};#step}} "devbot"

To start it, I type #slow pets. Basically, what is supposed to happen is I should follow the slow walk path, until I hit some mobs in brackets (). When I do, it should stop the path berserk the number / 5, and #step to move to continue walking.

However, what actually happens is it moves the first step on the path and does the right number of berserks, but then it aborts speedwalking and nothing happens.

I'm using zMUD 6.62 on Windows XP.

Any ideas? Cool

Mark
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Wed Oct 08, 2003 2:25 am   
 
I believe you have to use #PAUSE instead of #STOP. Everything else looks to be in order, I would reccommend () instead of {} around the %1 > 4 just for readability.
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