About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
liujc
Beginner


Joined: 02 Mar 2007
Posts: 23
Location: China, BeiJing

PostPosted: 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?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
liujc
Beginner


Joined: 02 Mar 2007
Posts: 23
Location: China, BeiJing

PostPosted: Sat Mar 03, 2007 4:50 pm   
 
Thanks a lot!
Reply with quote
liujc
Beginner


Joined: 02 Mar 2007
Posts: 23
Location: China, BeiJing

PostPosted: 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!
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
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