[NEWBIE] Problem with color

From: Ryan (wizard15@home.com)
Date: 08/31/00


Ok i have put in the Easy color patch, and i have put in the QueryAnsi
patch, and i think the QueryAnsi patch is making color come on, but is
setting it to color Sparse, because when i go in the mud, selcting yes,
i see -No- color Anywehre.
im not sure if it has to do with this code, but will post it
  switch (STATE(d)) {
   case CON_QANSI:
     if (!*arg || LOWER(*arg) == 'y') {
       SET_BIT(PRF_FLAGS(d->character), PRF_COLOR_1 | PRF_COLOR_2);
       SEND_TO_Q("Color is on.\r\n", d);
       // SEND_TO_Q(ANSI_GREETINGS, d);
       SEND_TO_Q(GREETINGS, d);
     } else if (LOWER(*arg) == 'n') {
       REMOVE_BIT(PRF_FLAGS(d->character), PRF_COLOR_1 | PRF_COLOR_2);
       SEND_TO_Q("Color is off.\r\n", d);
       SEND_TO_Q(GREETINGS, d);
     } else {
       SEND_TO_Q("That is not a proper response.\r\n", d);
       SEND_TO_Q(QANSI, d);
       return;
     }
or maybe its here
          if (color)
            SET_BIT(PRF_FLAGS(d->character), PRF_COLOR_1 | PRF_COLOR_2);
          else
            REMOVE_BIT(PRF_FLAGS(d->character), PRF_COLOR_1 |
PRF_COLOR_2);
i dont understand this as i still consider myself a newbie coder
so any help would be appreciated


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