|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Thu May 06, 2004 8:30 am
substitutions |
Ok I am trying to substitute room names with names that will make more sense to me. I've tried with #SUB, #SUBSTITUTE, and #PSUB
all of these end up placing things where they become hard to read.
#SUB & #SUBSTITUTE
Second Gate of MT (sw, gate and ne)A large gate(sw, gate and ne)
A well-muscled Dunnish man of western Gondor
A tall guard of Minas Tirith [2]
A handmade arrow
#PSUB
Second Gate of MT (sw, gate and ne) A well-muscled Dunnish man of western Gondor
A tall guard of Minas Tirith [2]
A handmade arrow
I don't know how, but I'd like to get it where it says this after the substitution,
Second Gate of MT (sw, gate and ne)
A well-muscled Dunnish man of western Gondor
A tall guard of Minas Tirith [2]
A handmade arrow
This is what it will look like before
A large gate(sw, gate and ne)
A well-muscled Dunnish man of western Gondor
A tall guard of Minas Tirith [2]
A handmade arrow
Thanks for all the help |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Thu May 06, 2004 2:23 pm |
I believe a simple #SUB should do the trick like this
#SUB {Original Room Name} {New Room Name}
However if that doesn't work you can try something like this *Untested*
#TR {(Original Room Name)} {#PSUB {New Room Name} %x1} |
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Fri May 07, 2004 6:38 am |
Ok I tried both of them, and still came up with the same problems as before. *shrug*
|
|
|
|
Guede Wanderer
Joined: 30 Nov 2003 Posts: 65 Location: United Kingdom
|
Posted: Fri May 07, 2004 8:37 pm |
Hi,
Try:
#TRIGGER {A large gate~(} {#SUB {2nd Gate of MT~(}}
Works fine here...One or two things to note though. If you use the mapper, update the room name so the mapper still follows. Em, and this will SUB for ALL rooms called "A large gate" I guess if you do more in the trigger you can narrow it down if exits are unique. Remember and use the quote character for the (.
HTH,
-G- |
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Sat May 08, 2004 8:07 am |
Cool, thanks for the help. It works now.
|
|
|
|
|
|