[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  world.colourtell / colournote

world.colourtell / colournote

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Deqitosv   USA  (26 posts)  [Biography] 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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Shadowfyr   USA  (1,786 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] 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
[Go to top] 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.


19,427 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]