From: "Billy H. Chan" <bhchan@po.EECS.Berkeley.EDU>
Subject: CODE: Restricting Movement

This code example is intended to show one possible way that you
can restrict certain people from entering a certain room.
In do_simple_move, after checking for /* charmed? */ is
the best place to put checks in.  Here is an example:

  /* Check for UpperGodsRoom */
  if ((ROOM_FLAGGED(ch->in_room, ROOM_UPPERGODROOM) ||
      ROOM_FLAGGED(EXIT(ch, dir)->to_room, ROOM_UPPERGODROOM)) &&
      GET_LEVEL(ch) &lt; LVL_GRGOD) {
        send_to_char("A strange force prevents you from going there.\r\n", ch);
        return 0;
  }
  /* Check for GodRoom */
  if ((ROOM_FLAGGED(ch->in_room, ROOM_GODROOM) ||
      ROOM_FLAGGED(EXIT(ch, dir)->to_room, ROOM_GODROOM)) &&
      GET_LEVEL(ch) &lt; LVL_AMBASSADOR) {
        send_to_char("A strange force prevents you from going there.\r\n", ch);
        return 0;
  }

So, define your ROOM flags and figure out the levels and you're done.
