Re: Non Snoop Rooms

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/13/98


On Thu, 13 Aug 1998, Del Minturn wrote:

>> + else if (ROOM_FLAGGED(INROOM(ch), ROOM_NO_SNOOP))
>> +   send_to_char("No, I don't wanna!\r\n", ch);
>
>What happens if you are snooping someone and they enter a !snoop room?
>
>Any way to make it check when the character enters the room?

An appropriate check in char_to_room() would take care of it, I was giving
the basics. (And left out constants.c since it was even more trivial)

if (room_is_flagged_no_snoop && ch_is_snooped)
  cancel_snoop();

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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