mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 3
J
jawel Offline OP
Self-satisified door
OP Offline
Self-satisified door
J
Joined: Dec 2002
Posts: 3
k, I was just wondering if I could give all the users of my chanell different colors. Every user his or her own color ........ possible ?

Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
If you want to give specific users their own colour, then you can do so by pressing Alt + B. Go into the NICK section and assign different colours to people either by nickname or mask (e.g.: LadyDana or *!dana@*.fluffyclouds.org).

If you want to randomize colours, then you can try the following remote snippet:
Code:
On *:JOIN:#:{
  if ($nick == $me) {
    var %i = 1, %c = 1
    while (%i <= $nick(#,0)) {
      if (%c > 15) { set %c 1 }
      if (%c == $color(background color)) { inc %c }
      cline %c # %i
      inc %i
      inc %c
    }
  }
}

... or something along those lines. I can't verify everything sorry, don't have a copy of mIRC handy.

Dana


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
... What Dana said, but I'd sneak a $rand in there, instead of a loop...


NaquadaBomb
www.mirc-dll.com
Joined: Oct 2006
Posts: 8
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Oct 2006
Posts: 8
yes.. just ude the command called: /cline
example:
/cline (number color) <nick>


Link Copied to Clipboard