Re: color in scripts

From: Xual (xual@satanspawn.ml.org)
Date: 02/08/99


On Mon, 8 Feb 1999, Mark A. Heilpern wrote:

> What kind of scripts are you referring to? I've used & for color in
> output from both DG Scripts and MobProgs, without any
> difficulty.

Actually, I've never been able to make the & color codes work either,
using DG Scripts pl5a and easy color 2.2 (works in the code and all other
text files, just not scripts)

>  If the & codes do not work for you, you might want to try
> \cXX, where XX is a number (leading zero required for numbers
> below 10).

Unfortunatly, I ripped out the \cXX stuff after writing a function to
strip color codes from < LVL_GOD's input.  I never used them, and it made
the strip_color func a lot smaller.  I was considering making color
variables for scripts, ie: %red% ..... %nrm% but I think there must be an
easier way.

"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG
telnet://danathara.ml.org:4000


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