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


Joined: 27 May 2006
Posts: 6
Location: Maryland, USA

PostPosted: Tue Jun 08, 2010 6:22 pm   

Using #WAIT in a alias?
 
I'm trying to setup a alias for a path. The alias will take me (w;w;s;s;s;w;w;w;n;n;w;touch triangle) and then wait 10 seconds and do the rest of the path (w;w;nw). I want to do this because after you touch triangle you arent transported to the location until 10 seconds after. I was suggested to setup a destination trigger which means once you hit the destination it sets off a trigger to go the rest of the way but id like to make one alias so that if i pass by there to go somewhere else it doesnt set of the trigger! Any help would be appreciated!
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Tue Jun 08, 2010 7:07 pm   
 
Since this is Zmud we kinda frown on most usages of #wait. But I believe it should work fine here.

#forall {w|w|s|s|s|w|w|w|n|n|w|touch triangle} {#send {%i}}
#wait 10000
#forall {w|w|nw} {#send {%i}}
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Tue Jun 08, 2010 9:53 pm   
 
The other option would be to make an alarm embedded in the alias. And I honestly think its the better option since #WAIT is so buggy.
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
Reply with quote
myddrun
Wanderer


Joined: 31 Mar 2005
Posts: 58

PostPosted: Fri Jun 11, 2010 11:53 am   
 
I'd have to concur. The only use for #wait I've found neccessary is to slow down a repeating loop.

replacing the #wait 10000 with #alarm +10 {#forall {w|w|nw} {#send {%i}} would be the better option.
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