Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Coloring IRC logs nicely

by iblech (Friar)
on Aug 20, 2004 at 15:15 UTC ( [id://384614]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Coloring IRC logs nicely
in thread Coloring IRC logs nicely

This will ensure that the first 3 nicks get a good contrast between the colors, then the next 3 get the second-best level of contrast ad infinitum.

Yes, that's no problem. But: The first nicks are not necessarily the most active nicks, example:

  • A..F join (colors: most contrast)
  • A..F idle
  • G,H,I join (colors: less contrast)
  • G,H,I flame or are otherwise active

To work around that, the nicks would have to be sorted for activeness -- and to do that, we'd need knowledge of all further nicks. And then, we could just use my first algorithm.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://384614]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-26 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found