|
Morningstar Newbie
Joined: 07 Aug 2003 Posts: 3 Location: Sweden
|
Posted: Thu Aug 07, 2003 3:50 am
zMUD room exit names problem |
The mud i am using displays it's room exits thusly: [NESW]
The zMUD automapper reads these exits perfectly.
However the mud i'm playing on displayes exits with closed door in lower case, as in if the west door is closed then the room exit would be displayed as: [NESw]
Now this seems to be a big problem for the automapper, and it decides that the best way to deal is to wait to add the room until i walk into a room wich displays the exits in all upper case.
Is there any way to fix this?
Thanks
/Bjorn |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Thu Aug 07, 2003 5:29 am |
#sub {~[????~]} {%upper(%1)%upper(%2)%upper(%3)%upper(%4)}
This is jut an example but you get the idea.
Now this would go wherever it is that your are keeping the Trigger for the room exits.
If your not keeping anything for the room exits than just put this into the command line and hit ENTER. |
|
|
|
Morningstar Newbie
Joined: 07 Aug 2003 Posts: 3 Location: Sweden
|
Posted: Thu Aug 07, 2003 5:49 am |
Sorry when it comes to scripts in zMUD i'm such a newbie it almost hurts :)
I have no trigger for the exits. (the exits are displayed by the mud)
And when i use the one you wrote, the only thing that happens is
that the exits disappear completely |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Tue Aug 12, 2003 12:29 am |
ooops forgot to put the brakets in
#sub {~[(?)(?)(?)(?)~]} {%upper(%1)%upper(%2)%upper(%3)%upper(%4)}
sorry about that |
|
|
|
|
|