 |
Morfaroth Beginner
Joined: 07 Dec 2002 Posts: 11
|
Posted: 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.
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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.
|
|
|
 |
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: 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. |
|
|
 |
|
|