-----Original Message----- From: Jeff Boschee To: CIRCLE@post.queensu.ca Sent: 5/12/00 10:40 AM Subject: [CIRCLE] Color I am trying to get rid of the sparse, normal and complete color schemes and 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. Zarius -----Reply----- 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). Rick +------------------------------------------------------------+ | 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/10/01 PDT