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
n0mad
Newbie


Joined: 07 Jan 2003
Posts: 5
Location: United Kingdom

PostPosted: Tue Jan 07, 2003 2:16 pm   

Duplicate Exits in Rooms
 
Just a quick question.

When you use this command...

%roomexit(,"n|e|w|s")

...as expected, the current room is given a n, e, w and s exit, but if you enter the same command again, you get 2 exits of each. Is there any way to remove duplicate exits from a room on the mapper programmatically using zMud script, or even to parse the duplicates before hand?

I've also tried %roomexit(, %dups( %roomexit( ) ) ) but to no avail. Just can't seem to remove duplicates nor specific exits from a room on the mapper. Any help is appreciated greatly.


J
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: Tue Jan 07, 2003 5:56 pm   
 
Which version are you using?

I've just tried it with 6.40, when I do %roomexit(, "n|w|s") it creates the three exits, repeating this does not create duplicate exits. However, setting something else eg %roomexit(, "e") should delete all exits and just create one east exit, it doesn't. Sounds like a bug to me.

Can anyone else confirm this?

Lady C.
Reply with quote
n0mad
Newbie


Joined: 07 Jan 2003
Posts: 5
Location: United Kingdom

PostPosted: Tue Jan 07, 2003 6:25 pm   
 
Thanks for trying, you are definitely getting different functionality to me. I've got a room with 23 exits each of north, east, west and south at total of 92 exits. Must be a bug.

thx

EDIT: I am using 6.40
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Jan 07, 2003 7:04 pm   
 
It creates duplicate exits for me.

Kjata
Reply with quote
n0mad
Newbie


Joined: 07 Jan 2003
Posts: 5
Location: United Kingdom

PostPosted: Tue Jan 07, 2003 8:29 pm   
 
Well that just goes to prove that I haven't totally lost my marbles.

I'll log it with Zugg as a bug, unless of course Zugg, you're reading this, it'd be good to hear whether Kjata and I have the right functionality or whether Lady C's install works as planned.

Thanks all.
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