No_Snoop [code]

From: Brett Williams (OKJinx@AOL.COM)
Date: 08/13/98


Ok you don't need to change anything in act.wizard, or anything anywhere. You
just have to block it from sending the information if they are in a no_snoop
room. So edit structs.h create room_no_snoop, setup some no_snoop rooms and go
into Comm.c::

In unmodified bpl14:: Line 1313 ese look for "if (t->snoop_by)"

  /* handle snooping: prepend "% " and send to snooper */
  if (t->snoop_by) {
+    if (!ROOM_FLAGGED(t->in_room, ROOM_NO_SNOOP) {
      SEND_TO_Q("% ", t->snoop_by);
      SEND_TO_Q(t->output, t->snoop_by);
      SEND_TO_Q("%%", t->snoop_by);
+    }
  }


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST