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
ToyMage
Apprentice


Joined: 01 Sep 2005
Posts: 120

PostPosted: Thu Oct 27, 2005 6:37 am   

Fine Tuning Mapper
 
Tikol Boulevard

Tikol Boulevard is one of the two main streets in New Lensmoor.

Several travelers, who have apparently just arrived in town, are here.

[Exits: (north) east south west]

(x) A old man is standing here.
----------------------

I'm trying to fine tune my auto mapping with color triggers. The room description is always in green, and the "Exits:" is always in red.

I don't need to capture the old man in my map.

The main problem with the auto configuration is that when description is in 2 paragraphs it falis to capture.

Can anyone fine tune this?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Oct 27, 2005 1:59 pm   
 
This may be a little off since you only gave one room (it always helps to give multiple) but... try this.

Code:

#TRIGGER  { ^(*) } {#TAG name "%1" }
#COND { {^[}(*) } { #VAR Desc %concat(@Desc, "%1") }
#COND {~[Exits: (*)~]} {#TAG desc @Desc; #VAR Exits %replace("%1", " ", "|"); FORALL @Exits { #NOOP %match ("%i", "%w", Temp; #ADDITEM EList @Temp;  #IF ( %begins ("%i","(" ) { #DOOR @Temp } } #TAG exits @Elist }
_________________
Asati di tempari!
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