Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Bug reports ➜ world.colourtell / colournote

world.colourtell / colournote

Posting of new messages is disabled at present.

Refresh page


Posted by Deqitosv   USA  (26 posts)  Bio
Date Mon 01 Aug 2005 07:40 PM (UTC)

Amended on Mon 01 Aug 2005 07:42 PM (UTC) by Deqitosv

Message
I'm probably insane for thinking this, but there is a config page for 'ANSI Colour'. On this page it states color names, and what they will look like. (see http://www.itgotdeleted.com/mush/ansicolour.jpg for details on what I mean).

However if I call world.colourtell or colournote, say... yellow, it comes up.. yellow.. No matter what I have the two yellows set to on this page.. Does that seem... correct?

It doesn't to me.. I'd love to go

world.colourtell "yellow", "", "This is Yellow"

and have it come up whatever custom colour is set on that page.. Just wondering if that's a bug, or by design.

Oh, and is there a plan for Americaneze support for the word 'color' as well as 'colour'?

Deqitosv
MushClient Plugins for LegendMUD:
http://www.itgotdeleted.com/ (currently offline)

Experiments in Film:
http://www.cookiejarfilms.com/

15, a Parody of 24:
http://www.pkill.org
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Mon 01 Aug 2005 07:49 PM (UTC)
Message
My guess would be that it's by design. The colors in the config page are for ansi colors but I suspect the world.note functions use a different set of (much richer) color codes that don't go through the same translations.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #2 on Tue 02 Aug 2005 01:02 AM (UTC)
Message
Yes, the ones in colournote are HTML colors, though even those are the limited set that Windows browsers all supported, not the full set that Unix and Linux tended to have. Maybe there should be an option to use ansiyellow, ansiblue, etc. to get the colors from the world settings? Though, I supposed technically that should be ansi0 -> ansi15, since they are not listed by color name and if someone alters them enough... then the normal names wouldn't match the colors anyway.
Top

Posted by Nick Gammon   Australia  (23,122 posts)  Bio   Forum Administrator
Date Reply #3 on Thu 04 Aug 2005 07:50 AM (UTC)
Message
Considering there are only 16 colours in the ANSI window you can configure, and 256**3 (16,777,216) colours that are possible by using ColourNote, it would be strange if 16 of those got mapped into different colours when they are displayed.

I suggest if you want to display with colours mapped to your colour scheme (for some reason) use AnsiNote which will respect your colour mappings.

http://www.gammon.com.au/scripts/doc.php?function=AnsiNote


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,122 posts)  Bio   Forum Administrator
Date Reply #4 on Sat 15 Oct 2005 07:25 AM (UTC)
Message
Of course, you can use MapColour to map one colour to another, which will affect all colours.

http://www.gammon.com.au/scripts/function.php?name=MapColour

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


21,471 views.

Posting of new messages is disabled at present.

Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.