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
Chris_3413
Novice


Joined: 22 Mar 2004
Posts: 46
Location: Australia

PostPosted: Thu Mar 17, 2005 4:19 am   

Mapper and Ignoring parts of a room name
 
This is mainly for Achaea, but also applicable to Imperian/Lusternia/Aetolia:

When flying, each room name has the words 'Flying Above' appended to the start of the room name and while in the trees the prefix is 'In the trees above'

What I want to do is somehow strip the prefixes so that while in map creation mode if i'm flying at the time I dont get rooms being named 'Flying Above A small stream' etc as ive found that later while moving along the ground in follow mode, the mapper stops following when I pass through one of these rooms.
_________________
What do you mean, Fatal Error!
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Thu Mar 17, 2005 1:09 pm   
 
Try this:
#ALIAS onroomcreate {#call %roomname(%roomvnum,%subregex(%roomname(%roomvnum), "((?:Flying Above)|(?:In the trees above) )", ""))}
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
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