Go Back   FlashFXP Forums > > > >

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-04-2003, 10:26 PM   #1
snaafu
Junior Member
 
Join Date: Dec 2003
Posts: 3
Default editing dZSbot.tcl adding color to announce commands in mIRC

set announce(NEWDIR) "\[%section\] + New Release: %path/%bold%release%bold (%relname) by %bold%user%bold@%group"

when i was using raidenFTPD and sitestat ....

i could add lines like

onNewDir=.say 14 .:[11 %h 14]:. 14(0 %r14) 14[ 11cReaTeD 14] 0by 14 %S

onDelDir=.say 14 .:[11 %h 14]:. 14(0 %r14) 14[ 11dELeTeD 14] 0by 14 %S

i wanna know how to add the COLOR to the script so when it announces in mIRC looks a bit less plain ?? is there a way ?
snaafu is offline   Reply With Quote
Old 12-05-2003, 05:22 AM   #2
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default Re: editing dZSbot.tcl adding color to announce commands in mIRC

Quote:
Originally posted by snaafu
set announce(NEWDIR) "\[%section\] + New Release: %path/%bold%release%bold (%relname) by %bold%user%bold@%group"

when i was using raidenFTPD and sitestat ....

i could add lines like

onNewDir=.say 14 .:[11 %h 14]:. 14(0 %r14) 14[ 11cReaTeD 14] 0by 14 %S

onDelDir=.say 14 .:[11 %h 14]:. 14(0 %r14) 14[ 11dELeTeD 14] 0by 14 %S

i wanna know how to add the COLOR to the script so when it announces in mIRC looks a bit less plain ?? is there a way ?
of course dzsbot support colors
by reading the manual & the file named README-COOKIES.TXT you will find all the cookies you can use in announces

have fun reading README-COOKIES.TXT

bounty
bounty is offline   Reply With Quote
Old 12-05-2003, 10:46 AM   #3
MaZza_Dj
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 123
Default

in dZSbot the cookie for color is %color...
for example: %color7

set announce(NEWDIR) "\[%color4%section%color\] + New Release: %path/%bold%release%bold (%color7%relname%color) by %bold%user%bold@%group"


the first color is for active the color (7 is orange 4 is red and so on) the second %color is for dectivated the color cookie 8)))))

enjoy
MaZza_Dj is offline   Reply With Quote
Old 12-05-2003, 02:12 PM   #4
snaafu
Junior Member
 
Join Date: Dec 2003
Posts: 3
Default

you guys ownz many thx brotha's hehehe funny but i gather the saying is true .... a few minutes of reading will save ya hours of pain LOL
snaafu is offline   Reply With Quote
Old 01-27-2004, 09:49 PM   #5
Del
Junior Member
 
Join Date: Oct 2003
Posts: 21
Default

Hi,

I have the same question. I am trying to add colors to the %section cookie. This is what I have:

\[%color8%section%color\]

and this is what I get:

[%section]

I am using:
ioFTPD 5.3.9u dZSbot 1.09b, eggdrop 1.6.15

Anyone able to tell me what I am doing wrong?

Tnx.
Del
Del is offline   Reply With Quote
Old 01-28-2004, 05:37 PM   #6
Del
Junior Member
 
Join Date: Oct 2003
Posts: 21
Default

OK, problem fixe. Stupid me, did a find/replace of all %section cookies, which replaced everything..which is a no no..

Del
Del is offline   Reply With Quote
Reply

Tags
add

Thread Tools
Display Modes 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

Forum Jump


All times are GMT -5. The time now is 06:22 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)