[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extra colour...



On Wed, 22 Oct 2003, Chris Gahan wrote:

> I've been wrestling with the problem of nick colouring recently. The problem
> is that, with only 15 colours, the nick-hash often collides and assigns two
> or three people in a channel the same colour.
>
> My solution was to write a python script that implemented a
> "least-recently-used" colour assigning algorithm, so that if a new person
> who doesn't have a colour assigned starts talking, they get assigned a
> colour that isn't in use by anybody (or hasn't been used in the longest
> time).

Oooh... I'd like a copy of that script.. is it on the scripts page? :)

> Now, this works much better, but what would be best is MORE COLOURS! :)
>
> Since the text-box supports 32-bit colour, why not have a new code that
> allows RGB colours to be set? %Krrggbb, for example.
>
> Does anybody see any problems with this idea? I'm not sure how the text-box
> is currently implemented, so tell me if it would make things messy and/or
> slow.

What first strikes me is the lack of support in other clients... If the
plan was to include this possibility in text sent to channels/queries,
you'd need to convince everyone else to do it too... much like when
mIRC added colours in the first place I imagine (I wasn't on IRC then,
only heard about all the problems from friends who were.. ;).

There was some discussion on this list earlier about a completely
different implementation of colours, using CTCP, but I don't know what
came of it...

-- 
Morten
Ultimate office automation: networked coffee.
--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/