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


Joined: 17 Apr 2004
Posts: 1
Location: Norway

PostPosted: Sat Apr 17, 2004 8:31 pm   

Help with mapper
 
774/774Hp 289/296Mv 229/229Ma XL(714860) >w
You walk west.
Before An Underground Shrine [Indoors]
Holes in the wall appear random and frequently, all leading into new
passes. Occasionally, creatures more shaped like a bull than like a
man, walk by but leave you be. Getting lost in this place shouldn't be
too hard, and the occiasional female scream makes it even harder to
concentrate on where you're going.
[Exits: east west]

774/774Hp 288/296Mv 229/229Ma XL(714860) >

This is how a room is entered and look like. What i'm having trouble with is getting the [indoor] message removed from the room name. It changes depending on weather and such so i don't want it captured and used in the room name. So far i've had no luck getting it removed and was hoping someone here could help me. Apart from this i've gotten the mapper to work as i wish and i'm happy with it.

Macenion
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Apr 18, 2004 2:04 am   
 
Try this...
#TR {^You %w %t.$} {#NOMAP}
#COND {(*) (~[*`])} {#SUB {%1}} {within|param=1}

Basically it picks up on the movement line and then substitutes if the next line looks like a room name with junk. Alternately you could use #TAG if you want to keep the display of the '[Indoors]'. Other options would include recording that information and coloring the room.
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