mIRC Home    About    Download    Register    News    Help

Print Thread
/cnick help please #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.

Re: /cnick help please [Re: remial] #191052 01/12/07 07:52 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
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,.) }
Re: /cnick help please [Re: remial] #191056 01/12/07 08:24 AM
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.

Re: /cnick help please [Re: remial] #191058 01/12/07 11:13 AM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
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
Re: /cnick help please [Re: remial] #191076 01/12/07 10:46 PM
Joined: Jul 2006
Posts: 107
L
LonDart Offline
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