MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: @dig (restriction)



At 03:40 AM 4/23/96 PDT, you wrote:
>On Mon, 22 Apr 1996, Isildur wrote:
>
>> Id like to thanks many people here helping me on all of this.
>> People on my moo wants to have "sure" homes, so nobody can dig exits to them.
>> But @dig allow to dig exits from your rooms to anybody else one.
>> I mean, if a builder digs a room with an exit to any other one room (other 
>> playerês room) both, exit and entry are not "activated" on others room,
but his 
>> exit works, so he can go to others rooms this way.
>> This sholud be done by the other player using @add-entry, isnt ?
>> If you list legal exits and entries in otherês  room you get nothing, but
it woks.
>> Should I edit go, moveto, add-exit or what? in $room? in $exit?
>> Many thanks again to all.
>
>If you want people to only be able to come in via a valid exit, try 
>sticking in the room's :accept verb somewhere,
>
>if (!(caller IN this.entrances))
if (!((caller in this.entrances) && ($object_utils:isa(caller, $exit))))
>  return 0;
>else
>[blab]
--Mat
@(BayMOO, AnonyMOO, DU)




Home | Subject Index | Thread Index