PDA

View Full Version : editing dZSbot.tcl adding color to announce commands in mIRC


snaafu
12-04-2003, 10:26 PM
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 ?

bounty
12-05-2003, 05:22 AM
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

MaZza_Dj
12-05-2003, 10:46 AM
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 :D

snaafu
12-05-2003, 02:12 PM
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

Del
01-27-2004, 09:49 PM
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
01-28-2004, 05:37 PM
OK, problem fixe. Stupid me, did a find/replace of all %section cookies, which replaced everything..which is a no no..

Del