question about using the custom color 16 option.

Posted by Smkey21 on Sun 30 May 2010 02:31 AM — 4 posts, 17,724 views.

#0
I am using the custom color 16 as default option for ansi colors, but I've run into a problem. On a mud that I play it will just use the bold(or bright/hi) tag instead of using bold white or similar, and when I use the above setting that text comes out the same as non-bold text. Is there a way to configure a bold version of the custom color somehow, or set something else up to let me know which text is supposed to be bold? I've switched back to using standard ANSI for now, but I have hope that there's a solution that lets me switch back to the custom color option.
Australia Forum Administrator #1
This may help, maybe:

Template:function=MapColour
MapColour

The documentation for the MapColour script function is available online. It is also in the MUSHclient help file.



That lets you remap colours independently of the ANSI codes. That is, an incoming colour (which may annoy you) can be unconditionally changed to another one. You would need a small script to be run on world open to do as many remaps as you want.
#2
It's kind of difficult to expain what I'm talking about I guess. I took a few logs and I'll

post an example of what I'm talking about. The first one is a raw and the others are while

logging colour.
The raw data I'm getting:
[39;49m[0;10m Standing here is [1mSteve[39;49m[0;10m 

talking to [1mSarah[39;49m[0;10m and off sulking in a corner is [1mDave[39;49m[0;10m.


What that translates to normally:
<font color="#C0C0C0"> Standing here is </font><font 

color="#FFFFFF">Steve</font><font color="#C0C0C0"> talking to </font><font 

color="#FFFFFF">Sarah</font><font color="#C0C0C0"> ...

How that looks when I configure MUSH to use custom colour 16 as default:
<font 

color="#0000FF"> Standing here is </font><font color="#0000FF">Steve</font><font 

color="#0000FF"> talking to </font><font color="#0000FF">Sarah</font><font color="#0000FF"> 

...


I was trying to see if there was a way to get the bold text (names in this case) to display

differently while using the colour 16 as default option. I tried out your suggestion of

mapping the colour to something else, but that still only works while I'm not using the

colour 16 as default option. So that leaves me back where I started.
Australia Forum Administrator #3
As far as I can see the concept of using colour 16 only applies to the base colour (that is, there is no "bold colour 16").

In that case I suggest you don't use colour 16 as a default, but remap both #C0C0C0 (normal) and #FFFFFF (bold) to the colours you really want.