Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > Caladan's scripts

Caladan's scripts project-zs, sitewho

Closed Thread
 
Thread Tools Rate Thread
Old 07-15-2004, 11:54 AM   #1
Junior Member
 
Join Date: Dec 2003
Posts: 15
Default color in announcements on IRC

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.
MilanoMosh is offline  
Old 07-15-2004, 11:55 AM   #2
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2003
Posts: 469
Default

google for TCL IRC Colors
SnypeTEST is offline  
Old 07-15-2004, 11:57 AM   #3
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

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.
Harm is offline  
Old 07-15-2004, 12:43 PM   #4
Junior Member
 
Join Date: Dec 2003
Posts: 15
Default

Thanks Harm, I will try it
MilanoMosh is offline  
Old 07-16-2004, 05:41 AM   #5
Junior Member
 
Join Date: Dec 2003
Posts: 15
Default

Is the color defined by hex or dec?
MilanoMosh is offline  
Old 07-16-2004, 05:54 AM   #6
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

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.
Harm is offline  
Old 07-16-2004, 05:58 AM   #7
Member
 
Join Date: Nov 2003
Posts: 46
Default

here an example:

Quote:
#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]
sUN76bEAM is offline  
Old 07-16-2004, 07:45 AM   #8
Junior Member
 
Join Date: Dec 2003
Posts: 15
Default

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 is offline  
Old 07-16-2004, 08:19 AM   #9
Junior Member
 
Join Date: Dec 2003
Posts: 15
Default

Thanks all for your replies. It works now!
MilanoMosh is offline  
Closed Thread
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 02:51 PM.