 |
liujc Beginner
Joined: 02 Mar 2007 Posts: 23 Location: China, BeiJing
|
Posted: Fri Mar 02, 2007 12:55 pm
A question about automap |
If the exit is southup, northup(For example: southup is >su>s). And I want to write a trig to improve the automap detecting. How to write the trig?
|
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Mar 02, 2007 9:53 pm |
Use a #direction.
You can set these up via the Settings Editor GUI, or use the code below:
#direction a b "su" s
a = the single-letter symbol that equates to the southup direction
b = the single-letter symbol that equates to the reverse of a |
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Mar 02, 2007 11:11 pm |
there needs to be no space between a and b to run it from the command line properly:
#direction ab "su" s |
|
|
 |
liujc Beginner
Joined: 02 Mar 2007 Posts: 23 Location: China, BeiJing
|
Posted: Sat Mar 03, 2007 4:50 pm |
Thanks a lot!
|
|
|
 |
liujc Beginner
Joined: 02 Mar 2007 Posts: 23 Location: China, BeiJing
|
Posted: Sat Mar 03, 2007 5:20 pm |
Well, I tried:
#direction op "su" s
#direction po "nd" n
and then I use the automap-> new configuration, the automap still can't tell the "southup" exit.
Then I tried:
#direction op "su" southup
#direction po "nd" northdown
it still doesn't work.
The mud I played gives the exits like this:
The exits is east and westup.
And the automap can only tell the e,s,w,n,.. directions. I want the automap to tell the "westup,southup" too. what should I do?
Thanks! |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Mar 03, 2007 8:47 pm |
Try #TAGging the lines? I know you need to reconfigure after creating #TAG triggers, but I'm not sure if that needs to happen with #DIRECTIONs
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
|
|