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


Joined: 04 Apr 2004
Posts: 17

PostPosted: Mon Apr 26, 2004 5:47 pm   

several #walks in one alias
 
Hi.
How can i make seperate walks in one alias? for instance
{#walk store;sell;#walk bank;deposit;#walk temple;heal}?
I have thought of triggering each new walk off something that happens, like making 2 temp trigs on 'You sell' and 'You deposit' but perhaps there is a simpler way to seperate up walks.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Apr 26, 2004 7:24 pm   
 
The paths from the store to the bank and from the bank to the temple shouldn't change, so you don't need to use #WALK for them.

For instance:
{#WALK store;sell;.nen2e;deposit;.2w2n;heal}
Reply with quote
Voland
Beginner


Joined: 04 Apr 2004
Posts: 17

PostPosted: Mon Apr 26, 2004 7:44 pm   
 
yeah i know:) just wondering if there is perhaps some way to put several walks.... ah well.. thanks.
Reply with quote
albatross
Newbie


Joined: 04 Mar 2004
Posts: 4
Location: USA

PostPosted: Tue Apr 27, 2004 7:23 pm   
 
I haven't had problems doing that. The only thing I do differently is that I have 'map' aliased to {#WALK %1}. I regularly use commands like {map stash;take coins;map fud;buy side of lamm;map beer;buy cask of wine;map stash;drop all coins;map cath} and I haven't had any problems.

What problem(s) are you having when you try to string #WALK commands together?
Reply with quote
Voland
Beginner


Joined: 04 Apr 2004
Posts: 17

PostPosted: Tue Apr 27, 2004 7:34 pm   
 
well basically if i type #walk blah;#walk blah1;#walk blah2 it calculates the paths to blah, blah1 and blah2 from the current room and, of course, misaliases after the first walk. Something i think might be very useful in future versions is some command like '#WAITWALKEND' so you can
#walk blah;#waitwalkend;#walk blah1;#waitwalkend;#walk blah2.
also this would be useful in, for instance #sl .eeeeen;#waitwalkend;smile; so you can smile in the last room of the walk. right now you can #sl .eeeeen(smile) to get around it, but that just doesnt seem right.
Reply with quote
icemanvko
Beginner


Joined: 05 Mar 2003
Posts: 19
Location: USA

PostPosted: Thu Apr 29, 2004 4:57 am   
 
Couple of ideas here.

First off are you using the map in fast walk? Maybe if the mapper was moving you instantly to the room, you would get a recalc of the path.

Secondly have you tried putting a #wait in there like #wait 2000 for a 2 second wait before executing the next line of the alias.

And Thirdly try breaking it up into seperate aliases

like
dosell
dodeposit
doheal

and then nesting all 3 aliases into one alias
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