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


Joined: 30 May 2002
Posts: 2

PostPosted: Thu May 30, 2002 3:04 am   

Alias command speed
 
I am wanting to do a speedwalk sort of thing, but the mud i am using has northwest and southwest which i dont think can be used as paths, so i decided to do the same thing but and alias with many commands, but when i put in the alias command on the mud, and it enters all the commands for the alias in the mud, it does it too fast, and on this mud when a bunch of commands are entered quickly, it say dont be so hasty and doesnt do all the commands, so i was wondering, how u could make it put the commands in more slowly.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu May 30, 2002 3:48 am   
 
Speedwalking outside of the builtin mapper is a very complex and messy operation. I would suggest you look at the the DirectionsDiag class that is built into zMud. In there you will find the defined setting for ne, se, sw, and se. Off the top of my head they have abbreviations of iojk. Those can be used with a speedwalk path as readily as neswud.
Reply with quote
NiteTrip
Novice


Joined: 21 May 2002
Posts: 40
Location: Canada

PostPosted: Thu May 30, 2002 3:50 am   
 
Here's a suggestiong for speedwalk, it might be confusing at first, however i think you could get used to it.

Look up the #dir command.

here i'll do it for you:

DIR
Syntax: #DIR dirchar[revchar] dircommand [mapdir]
Defines a new direction setting. The DirChar is the single character used to reference this direction when speedwalking. The second character in this string is the reverse character if used. The DirCommand is a string list of commands assigned to this direction. The MapDir is the physical mapper direction assigned to this direction and is optional.

Legal Mapdir values are: n, ne, e, se, s, sw, w, nw, u, d, other

DIR Example
#DIR ns "n|north" n
The definition of the default "north" command. n is set as the speedwalk character, with s as the reverse direction character. The commands 'n' and 'north' are both assigned to the direction, and the physical direction of north is assigned for the mapper.

Soo what this is syaing is you can type this:

#dir rp "ne|northeast" ne
#dir pr "nw|northwest" nw
and in a speedwalk, r would equal ne
and p would equal nw
you if you would type this:
.nenwpsrss
it would equal this:
n
e
n
w
nw
s
ne
s
s

so you can put this in your speedwalk and use the slow walk option.
Reply with quote
mach1920
Newbie


Joined: 30 May 2002
Posts: 2

PostPosted: Thu May 30, 2002 5:43 pm   
 
ok, i have the speedwalk thing in now, but when i do slow walk, it does the first direction, then says slow walking aborted, how do i fix that?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu May 30, 2002 6:26 pm   
 
For slow-walking you must issue the #OK command to zMUD once you have moved into the room. This is usually done with a trigger that matches the exits line or possibly your prompt.

Kjata
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