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


Joined: 29 Jan 2004
Posts: 2
Location: Finland

PostPosted: Thu Jan 29, 2004 2:59 pm   

Running through the path by pressing button
 
Some help needed with running trigs. I'd like to build a macro which carries me through the mud (predefined route), just pressing the F1 key. E.g first I want to go 3 e then stop. Do manual actions and and continue to next place which is located 3 n by pressing the same F1 (or why not F2). Again some manual actions and continue to 3 e and so on. How I can define the whole path loop under one button without using speedwalking or is it possible? Advices are welcome.

-Roar-
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Thu Jan 29, 2004 5:30 pm   
 
you could use a stage set up with some variables
#var AuctionWalk 0
#var AuctionPath {e;e;e;#show Ready for Auction|n;n;n;;#show Ready for Auction|and so on}
#KEY F1 {#if @AuctionWalk<=%numitems(@Auctionpath) {#add AuctionWalk 1;#ex %item(@AuctionPath,@AuctionWalk)} {AuctionWalk=1;#ex %item(@AuctionPath,@AuctionWalk)}}

This Is An EXAMPLE
it is a loop that you need to be at the beggining of the set coarse for it to work right. when you reach the end of the line you have to go back to the beggining to keep going (unless your smart enough to relize you can just put a path in there to take you back to the beggining.
Reply with quote
Roar
Newbie


Joined: 29 Jan 2004
Posts: 2
Location: Finland

PostPosted: Fri Jan 30, 2004 7:33 am   
 
Great! Thanks a lot. Lets see where I can find myself after testing...

-Roar-
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