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


Joined: 27 Feb 2002
Posts: 9
Location: USA

PostPosted: Thu Jan 09, 2003 10:43 pm   

Slow walking: Need help
 
I am trying my darnest to write a trigger set to slow walk, stop and kill things, but I am not having much luck...

The problem I have, is that if I made a trigger that does a #stop if I see a mob in a room, the ^[exit: trigger has already gone off because the exit line is before the mob line....

Here is what a normal room would look like after entering it...

9921H 4423M 1129E 82261278G > The Temple of Apollo
You have stepped into beauty incarnate. The tapestries hung from the polished
marble pillars seem to move with life, the furniture is plush yet stately.
Everything together suggests an air of godliness and power, yet is not
imposing. As would be expected from the son of Zeus.
[ Exits: east ]
A statue of David guards here.
A statue of David guards here.
A statue of David guards here.
A statue of David guards here.
Apollo, the God of Love, stands here.

9921H 4423M 1128E 82261278G >


any help anyone could give me would be greatly appriciated :)

Thanks in advance
Clevix
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Jan 10, 2003 12:48 am   
 
quote:

I am trying my darnest to write a trigger set to slow walk, stop and kill things, but I am not having much luck...

The problem I have, is that if I made a trigger that does a #stop if I see a mob in a room, the ^[exit: trigger has already gone off because the exit line is before the mob line....

Here is what a normal room would look like after entering it...

9921H 4423M 1129E 82261278G > The Temple of Apollo
You have stepped into beauty incarnate. The tapestries hung from the polished
marble pillars seem to move with life, the furniture is plush yet stately.
Everything together suggests an air of godliness and power, yet is not
imposing. As would be expected from the son of Zeus.
[ Exits: east ]
A statue of David guards here.
A statue of David guards here.
A statue of David guards here.
A statue of David guards here.
Apollo, the God of Love, stands here.

9921H 4423M 1128E 82261278G >


any help anyone could give me would be greatly appriciated :)

Thanks in advance
Clevix



Set the #STOP trigger to something lower, like your prompt. Since you'll get the prompt a number of times for a number of actions, create or modify your prompt trigger so that it checks a status variable tied into whether you found a critter to hunt or not. This variable would be set within whatever trigger you're using to match the critter line, and can be cleared by another trigger on the critter death-message. Alternatively, you could require an alias to resume your walking.

li'l shmoe of Dragon's Gate MUD
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