Re: [code][newbie]Invisible

From: Mike Carpenter (abram@DELTANET.COM)
Date: 11/05/97


Okay thanks...that was real stupid of me...
its works now this is what it looks like if you care.
SPECIAL(invis_item)
{
 if (CMD_IS("gone")) {
 SET_BIT(AFF_FLAGS(ch), AFF_INVISIBLE);
 send_to_char("You slowly fade out of visibility.\r\n", ch);
/* Probably going to add a send_to_room here also  and same with below */
return TRUE;
 }

 if (CMD_IS("here")) {
 REMOVE_BIT(AFF_FLAGS(ch), AFF_INVISIBLE);
 send_to_char("You slowly fade into visibility.\r\n", ch);
 return TRUE;
 }
return FALSE;
}


     +------------------------------------------------------------+
     | 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/08/00 PST