mIRC Home    About    Download    Register    News    Help

Print Thread
#191050 01/12/07 06:19 AM
Joined: Dec 2007
Posts: 3
R
remial Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Dec 2007
Posts: 3
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.

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Dec 2007
Posts: 3
R
remial Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Dec 2007
Posts: 3
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.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That's what was shown. Just change the nicks and change the colors -- the colors are the numbers after $chr(3).


Invision Support
#Invision on irc.irchighway.net
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.


LonDart

Link Copied to Clipboard