Re: newbie help

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 10/31/00


Allen J Beers wrote:
>
> I would like to send a message to my player stating he has become visible
> When he removes an object with an invisible flag set on it.  Also send a
> Message when he wears an object with a invisible flag set on it.  I
> Know I can check for the flag on the player, but when I do that and he
> Removes the object everything is fine until he removes another and the
> message
> Repeats.  My question is can an object be tested for the flag so only
> When that certain object is removed or worn the message is sent.
>  I haved tried variations
> Of structures found defined in utils.h but don’t seam to be able
> To put the proper one together..  If someone would like to point out
> Where in the code or what to search for in the archieves I would be very
> Be very grateful.

Try grepping the header files (*.h) for INVIS.  That should give you a
good starting point, I recommend the following command...

$grep -n INVIS *.h

That will show you the line numbers of the found lines as well.

Regards, Peter


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



This archive was generated by hypermail 2b30 : 04/11/01 PDT