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
Morfaroth
Beginner


Joined: 07 Dec 2002
Posts: 11

PostPosted: Mon Jun 07, 2004 10:11 am   

Coloring all rooms of a certain name
 
I'm trying to figure out an easy way to color all the rooms on my map with the same name a certain color, after I've maped the area. Basicly, My mud uses a grid system, and I want to color all the roads their own colors. Any help would be appreciated.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jun 08, 2004 6:30 pm   
 
I can't give you the details, but similar topics have been covered several times recently. Try doing a search in this forum.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Tue Jun 08, 2004 7:04 pm   
 
Try this:
#ALIAS colorize {
#loop %numrooms {
vnum=%roomvnum( %i)
#if (%match( %roomname( @vnum), "Test")) {#noop %roomcol( @vnum, "blue")}
}
}

Where "Test" is the pattern to test. Please remember to make a backup of the map before trying this though.
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