Re: [Question][Newbie] Dig

From: Del (caminturn@earthlink.net)
Date: 04/23/01


Jeremy Overbay wrote:
>
> here is what I use:
>
> if ((GET_LEVEL(ch) < LVL_IMPL) && (iroom/100 != GET_OLC_ZONE(ch))) {
>     send_to_char("You do not have permission to edit this zone.\r\n",
> ch);
>     return;
>   }
>
> it seems to work pretty well. although it hasn't recieved extensive testing
> as of yet.
>

Seems kind of simple to me, if your in your zone that you have perms to edit
and you dig to a room in another zone, I don't see any checks that verify
the room that you are linking to is in the same zone.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST