 |
n0mad Newbie
Joined: 07 Jan 2003 Posts: 5 Location: United Kingdom
|
Posted: 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 |
|
|
 |
Castaway GURU

Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: 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. |
|
|
 |
n0mad Newbie
Joined: 07 Jan 2003 Posts: 5 Location: United Kingdom
|
Posted: 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 |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Jan 07, 2003 7:04 pm |
It creates duplicate exits for me.
Kjata |
|
|
 |
n0mad Newbie
Joined: 07 Jan 2003 Posts: 5 Location: United Kingdom
|
Posted: 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. |
|
|
 |
|
|