Re: Trouble determining how to express something.

From: Christian Ejlertsen (chr.ejlertsen@has.dk)
Date: 08/29/02


Hi

> I'm having difficulty determining how to express something.  Essentially I
> want to be able to check zone information before movement.  So say if a
> zone is numbered less than 100 someone can walk in as a mortal, but over
> 100 they can't.  Or say if the zone top number is over 10000 they can't.
> Or whatever.
>

if (world[IN_ROOM(ch)].zone < the_zonenumber_you_wanna_use_here) {
    do somthing;
    return 0;
}

place that in do_simple_move.

Christian

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT