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


Joined: 10 Mar 2005
Posts: 3

PostPosted: Thu Mar 10, 2005 2:27 pm   

how can i auto move in a direction?
 
i am trying to write a script so that when i can't go in a direction because i can't go there riding that i will lead the mount and automatically go in that direction.

i have got the leading of the horse part down but can't seem to auto move in a direction #move doesn't move me in the mud. is there any way to do this

regards mestor
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sat Mar 12, 2005 4:29 pm   
 
when you try to go in a direction than the mud tells you something like
"you can not go that way" just trigger off that and send a random direction
_________________
megamog75 Smile
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere
Reply with quote
Spartacus
Wanderer


Joined: 23 Apr 2001
Posts: 53
Location: USA

PostPosted: Tue Mar 15, 2005 5:41 pm   
 
Have you tried using %lastdir instead of #move? #move only moves the pointer on the map, but doesn't send a command to the mud. You should send the directional command (which should be in %lastdir) and let the map move itself.
_________________
Spartacus
rm -rf .*
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