Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
khil
Beginner


Joined: 18 Dec 2010
Posts: 17

PostPosted: Thu Oct 10, 2013 9:00 am   

Wildcards in directions.
 
Hey
I have a sort of language problem with defining directions for auto-mapping purposes.
In Polish the direction for east is "wschod" and for northeast is "polnocny-wschod".
Obviously the when the room has an exit to NE, the room is created with links to E and NE, because "wschod" in "polnocny-wschod" is parsed too... . How do I avoid that? Can one use wildcards in directions? I tried for example for east:
Quote:
e|^-wschod|wschod|
but it creates an error?

Any pointers are very welcome, but as it is not exactly game-breaking issue, I am not looking to solve it by doing a lot of #TAG scripts...

Thanks
T.

edit. as of 2 minutes later
Quote:
e|{^~-}wschod

Doest the trick for now. Hmm, is that right for all other scripts?

Er no... after defining rest of them properly it does always draw a link towards se, regardless of mud output?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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