>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::
>
>+ 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);
>+ }
> }
this is fine, except that t is a struct descriptor_data not a
char_data..and it doesn't allow imps to override it..here's what i'd do..
/* handle snooping: prepend "% " and send to snooper */
if (t->snoop_by && (
(t->character && !ROOM_FLAGGED(IN_ROOM(t->character), ROOM_PRIVATE))
|| (t->snoop_by->character &&
GET_LEVEL(t->snoop_by->character) == LVL_IMPL)))
{
SEND_TO_Q("% ", t->snoop_by);
SEND_TO_Q(t->output, t->snoop_by);
SEND_TO_Q("%%", t->snoop_by);
}
shrug..
siv
+------------------------------------------------------------+
| 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