|
JerleMin Novice
Joined: 17 Oct 2000 Posts: 38
|
Posted: Tue Oct 22, 2002 4:50 am
Map-related question |
Hello all.. I need a bit of help. I went and mapped out about 300 rooms on a MUD I play, except I accidently ignored the period at the end of the room name when setting up my #tag trigger. I need to add a period to basically every single room i've mapped.. Is there an easy way to automate this? Or am I gonna have to click through spreadsheet mode and add a period to each? :(
Also.. My mapper can follow when i'm in map mode, but not follow mode. Anyone got a suggestion as to what could be causing that?
Jerle Minara,
zMUD 6.16
Win 2k Advanced Server |
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Tue Oct 22, 2002 7:30 am |
In short: yes.
Theres an internal variable which will give you the number of rooms on the map: %numrooms, and a function which gets/sets the roomname: %roomname()
Using these with #LOOP gives you something like:
#LOOP %numrooms {Tmp=%roomname(%i);Tmp=concat(@Tmp, ".");%roomname(%i, @Tmp)}
which should add a . to all the rooms. If some of them already have one, I suggest you check it with %ends first (see help file)
As for the follow-problem: Does your mud have lines in the room which change? Like weather or something? Maybe you need to filter these out, or set the speedwalk mode to 'FAST' which doesn't try to match anything at all when following.. Otherwise, please give an example.
Lady C. |
|
|
|
|
|
|
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
|
|