Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Cody Mercer
(2 posts) bio
|
| Date |
Sat 30 Jun 2012 07:46 PM (UTC) [ quote
] |
| Message |
Hello,
I'm currently building on my project ( I don't do the coding ) but we added 256 ansi recently and I can't really read dark colors good and whenever I try to switch the color to a lighter color it doesn't change? I think it's because I can only edit the 8 colors.. actually I don't really have a clue.. could someone help me? | top |
|
| Posted by |
Nick Gammon
Australia (18,800 posts) bio
Forum Administrator |
| Date |
Reply #1 on Sat 30 Jun 2012 11:20 PM (UTC) [ quote
] |
| Message |
You could add some MapColour calls to your world initialization to remap the way some colours are displayed ...
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Cody Mercer
(2 posts) bio
|
| Date |
Reply #2 on Sun 01 Jul 2012 02:21 AM (UTC) [ quote
] |
| Message |
| I know you must think I'm a retard, hah. I don't have a clue what you're saying to me. | top |
|
| Posted by |
Nick Gammon
Australia (18,800 posts) bio
Forum Administrator |
| Date |
Reply #3 on Sun 01 Jul 2012 07:32 AM (UTC) [ quote
] |
| Message |
MUSHclient can replace one colour with another, as it is writing to the screen. This is controlled by the MapColour scripting function. You would need to find the annoying colour(s) to work out its exact RGB components.
You can do this by selecting an example in the output window, go to Display menu -> Text Attributes and then you will see the RGB code (eg. "#0080FF").
Then you can script something like:
MapColour (ColourNameToRGB ("#0080FF"), ColourNameToRGB ("green"))
And ditto for other colours.
Put that line (and the others) into an alias, have the alias "send to script" and call the alias each time you log in. eg. make the alias "fixcolour", like this:
<aliases>
<alias
match="fixcolour"
enabled="y"
send_to="12"
sequence="100"
>
<send>
MapColour (ColourNameToRGB ("#0080FF"), ColourNameToRGB ("green"))
</send>
</alias>
</aliases>
 |
For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
671 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )