|
appleeater Beginner
Joined: 05 Apr 2003 Posts: 19
|
Posted: Sat Apr 05, 2003 12:11 am
Weather Desc in Room Name |
Morning,
I was hoping someone could help me with a problem I have mapping my mud.
The problem is that in the rooms that are outside, they have weather desciptions that change, ie sunny/cloudy etc, and are on the same line as the room name. Hence when going back into them the mapper will create new rooms. The changing weather desc's are enclosed in "[]" brackets btw.
I remember asking this question quite a few years ago, and the answer was something along the lines of
-capture the whole line that the room name is in
-remove weather descriptions
-put new room name without weather descriptions back into the mapper
The problem was solved, but I cant remember the exact details. Any help would be much appreciated
Cheers |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Apr 05, 2003 12:40 am |
Something like this might might work, of course you didn't post an actual example so you will have to tweak it.
#VAR Weather {Sunny|Raining|Snowing|Dark}
#TR {(*) ~[{@Weather}~]$} {#SUB {%1}} |
|
|
|
|
|
|
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
|
|