Re: [CODE] Color question

From: dkoepke (dkoepke@CALIFORNIA.COM)
Date: 03/21/98


Pure Krome wrote:
>
> Yeah. i've got one of the colour codes in, but i changed some file in comm.c to
> stop mortals using colours.
>
> that way, whenever i wanna use colours, i don't have to type some silly number
> in anymore!
>
> try that. Oh. i forgot what i changed, but i know it was in comm.c, some place
> that calls the colour function thingy. just do a if (GET_LEVEL(ch) <
> LVL_IMMORT)
>                                             // don't process colour
>                                     else
>                                             //process colour
>

You're probably doing the wrong thing if you didn't add a function call
to strip color codes out of a string.  What you've most likely done is
prevented codes from being *sent* to users, not prevented users from
sending codes.

-dak


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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