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


Joined: 23 Apr 2008
Posts: 3

PostPosted: Wed Apr 23, 2008 10:19 pm   

Paths?
 
Can someone please explain paths to me? I've tried recording and running them, nothing seems to work. If I want to be standing in one location, and record every move until I stop and enter a command to close the path, how would I do that?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Apr 24, 2008 9:34 pm   
 
How to create paths by literally walking/doing them
1)go to where you want to start recording.
2)enter in #MARK at the command line (this starts the recording)
3)enter all commands you want to record (careful, it will record mistakes and extraneous commands entered via scripts)
4)when you finally get to the end of the recording, type in #PATH pathname, where pathname is the name you want to use in execution (ie, .pathname from the command line)
5)if necessary, edit out all the mistakes and extra crap that got into your path

how to create paths without having to travel them yourself
1)open up Settings Editor, select New Path
2)in appropriate area of the Edit Path panel, enter in commands via the following format:

n = north
s = south
w = west
e = east
h = northwest
j = northeast
k = southwest
l = southeast
u = up
d = down
;(other commands); = going through doors and such

In all cases, if you need to travel in any particular direction multiple times in consecutive fashion (ie, north, north, north) condense it down like so:

3n = north, north, north

3)commit changes and save.
_________________
EDIT: I didn't like my old signature
Reply with quote
Sinbad
Newbie


Joined: 25 Aug 2007
Posts: 4

PostPosted: Sat Apr 26, 2008 1:32 pm   Paths
 
To use a recorded path called HereToThere its

.HereToThere

To walk the path the opposite direction is

..HereToThere

Once youve done the above that might be useful too.
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