Re: [code] poofin special command

From: Ron Hensley (ron@cross.dmv.com)
Date: 02/23/97


> 
> send_to_char("THIS DOESN'T WORK YET!!\r\n", ch);

In utils.h:

#define POOFIN(ch)              ((ch)->player_specials->poofin)
#define POOFOUT(ch)             ((ch)->player_specials->poofout) 

Been so long I forget if these are stock or an addon. If not there, put 
there.

  sprintf(buf,"%s\r\n", GET_POOFIN(ch));
  send_to_char(buf,ch);

Forget what you had coded, but id make sure and check they HAVE a poofin 
before trying to print it.

  if (GET_POOFIN(ch)) {
    ..
  }
    *******************************************************************
    *   Ron Hensley                     ron@dmv.com                   *
    *   Network Administrator           http://www.dmv.com/~ron       *
    *                                   PGP Key at WWW Page           *
    *   DelMarVa OnLine                 749-7898 Ext. 403             *
    *******************************************************************

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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