[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extra colour...
A Qua, 2003-10-22 às 11:41, Morten Lied Johansen escreveu:
> 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.. ;).
For the use Chris wants, adding more colours doesn't mean that these
colours should be sent through the network. Recall that he only wants
more colors to display colorized nicks. This a client-local issue, no
IRC protocol should need to be involved.
--
Gustavo João Alves Marques Carneiro
<gjc@inescporto.pt> <gustavo@users.sourceforge.net>
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/