>I'd do these like this: >const char *sector_symbols[] = { > "&Y#", > "&W:", /* Or whatever color you want to use for each of >these */ > "&Y*", >... > "&y.", > "&G*" >}; Bad move. If the symbols were ***, this method would send &G*&G*&G*, which is a bit more data than the player wants. Rather, make a check for the last color or symbol used, and see if the next one will be different. If so, terminate old color, send new. Otherwise, just send another symbol. ie, &G***&n&B~~~&n +------------------------------------------------------------+ | 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 : 12/15/00 PST