Re: Color

From: Glover, Rick I. (
Date: 05/13/00

-----Original Message-----
From: Jeff Boschee
Sent: 5/12/00 10:40 AM
Subject: [CIRCLE] Color

I am trying to get rid of the sparse, normal and complete color schemes
basically just have it on or off.

if I change ctypes as follows

const char *ctypes[] = {
  "off", "on1", "on2", "on", "\n"

changing color to on1 and on2 work fine, but if you try and set it to
on, it
reverts to off.  I tried changing the on to a different position in the
array and it always reverts to off.



ACMD(do_color) uses search_block() to loop through ctypes to find a matching
string.  It finds the "on1" or "on2" before the "on" because it has "exact"
match set to FALSE.  You may want to just change the search_block() call in
to search_block(arg, ctypes, TRUE).


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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