mIRC Home    About    Download    Register    News    Help

Print Thread
#191050 01/12/07 06:19 AM
R
remial
remial
R
I'd like to be able to set up IRC so that I can set a person a color so that any messages he sends are of a particular color, yet I have no idea how to do this.

I tried using /cnick and all I managed to do was change the color of his nick in the channel list.

#191052 01/12/07 07:52 AM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
You need to grab the text from the channel, then use color on it from there..
Code:
on *:TEXT:*:#: {
  haltdef
  if ($nick == bla) { echo $chan < $+ $nick $+ > $+($chr(3),3,$1-) }
  elseif ($nick == test) { echo $chan < $+ $nick $+ > $+($chr(3),4,$1-) }
  else { echo $chan < $+ $nick $+ > $+($chr(3),1,$1-) }
}

But i guess it's a bether way to do it, this is just an idea.

#191056 01/12/07 08:24 AM
R
remial
remial
R
well what I want to do is set the script so that when (let's say the guy's name is) bob says something the script will show his dialogue as green. Ideally I'd like to be able to set it so that I can enter multiple names and colors.

#191058 01/12/07 11:13 AM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
That's what was shown. Just change the nicks and change the colors -- the colors are the numbers after $chr(3).

#191076 01/12/07 10:46 PM
Joined: Jul 2006
Posts: 107
L
Vogon poet
Offline
Vogon poet
L
Joined: Jul 2006
Posts: 107
For a non-script solution, check out the Colors tab of the mIRC address book. It's quite versatile.


Link Copied to Clipboard