Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Morningstar
Newbie


Joined: 07 Aug 2003
Posts: 3
Location: Sweden

PostPosted: 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
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: 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.
Reply with quote
Morningstar
Newbie


Joined: 07 Aug 2003
Posts: 3
Location: Sweden

PostPosted: 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
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Tue Aug 12, 2003 12:29 am   
 
ooops forgot to put the brakets in Smile

#sub {~[(?)(?)(?)(?)~]} {%upper(%1)%upper(%2)%upper(%3)%upper(%4)}

sorry about that
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net