PDA

View Full Version : color in announcements on IRC


MilanoMosh
07-15-2004, 11:54 AM
Hi,

First I say I love Project-ZS.

Before Project-ZS I used ioZS and colored the outputs for different servers. So my question is simple, Is there a way to customize with colors in the announcements on IRC? If not will it be implemented ;)

I've found no cookie for it that's why I ask.

Thanks for any respons.

SnypeTEST
07-15-2004, 11:55 AM
google for TCL IRC Colors

Harm
07-15-2004, 11:57 AM
Edit your config.h.
There's no cookie but write \\003x where x is the colour code and you'll have colours (\\003 resets the colour).
Recompile.

MilanoMosh
07-15-2004, 12:43 PM
Thanks Harm, I will try it :)

MilanoMosh
07-16-2004, 05:41 AM
Is the color defined by hex or dec?

Harm
07-16-2004, 05:54 AM
The colour codes are the ones you use in your irc client.
ie. for mIRC, press CTRL+K and you'll see all available colour codes.

sUN76bEAM
07-16-2004, 05:58 AM
here an example:

#define audio_race "[3......race] %B%U%B is racing [ %R ] on %r @ %B%.0S%BkB/s."
#define audio_sfv "[3.......sfv] %r. Expecting %B%f%BF."
#define audio_update "[3.......id3] %r. Expecting %B%f%BF of %B%w%B from %B%Y%B @ %B%X Kbps%B %B%Q%B."

this string anounce green... [3......race]

MilanoMosh
07-16-2004, 07:45 AM
sUN76bEAM: Did you copy the line from mIRC? Did you press CTRL+K to get the  and then pasted it into config.h

Sorry if I sound like a total n00b.

MilanoMosh
07-16-2004, 08:19 AM
Thanks all for your replies. It works now!