Old 12-10-2004, 06:52 AM   #1
Ren
Senior Member
 
Join Date: Sep 2002
Posts: 111
Default Announce Redirect

Possible to redirect announces other than sections in dzsbot?

eg, wipe is announced in admin channel, login/logout is announced in 0day spam channel

thanks in advance
Ren is offline   Reply With Quote
Old 12-10-2004, 08:13 AM   #2
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

I could well be rememberring wrong as never really used it but I think where you have:
set chanlist(DEFAULT) "#dZSbot"
set chanlist(INVITE) "#dZSbot"
set chanlist(WELCOME) "#dZSbot"

you can add in redirects for other announces by using same format but changing the bit in brackets.

ie

set chanlist(WIPE) "#dZSbot.admin"

Give it a try, if it doesn't work easy to change back and I'm sure someone who knows for sure will be here by then
EwarWoo is offline   Reply With Quote
Old 12-12-2004, 05:52 AM   #3
Ren
Senior Member
 
Join Date: Sep 2002
Posts: 111
Default

thanks, unfortunatly this dosent work.
Ren is offline   Reply With Quote
Old 12-12-2004, 08:50 AM   #4
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

As far as I understand from reading the code, an option to do what you want isn't readily available. If you want, however, you can make the necessary changes yourself - I don't think they would be very difficult.

You should start with "proc readlog {}". Somewhere at the bottom, inside the "if { [denycheck "$path"] == 0 } {" part, you need to add a check for type of log entry you are interested in, and print this message using "sndchan" instead of "sndall".

I think
esmandil is offline   Reply With Quote
Old 12-12-2004, 10:11 AM   #5
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default

interested also for this question but i don't understand esmandil lol
iam is offline   Reply With Quote
Old 12-12-2004, 06:14 PM   #6
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

LOL. Yeah, I guess you need some programming and TCL knowledge to understand it... you may try to learn, it's not that difficult

I don't need that feature, so won't be coding it, sorry. At least not anytime soon.
esmandil is offline   Reply With Quote
Old 01-07-2006, 09:47 AM   #7
fL4sh.r0x
Member
ioFTPD Foundation User
 
fL4sh.r0x's Avatar
 
Join Date: Sep 2005
Posts: 32
Default

So? which is the coding? I'm interested to it!
Please!
fL4sh.r0x is offline   Reply With Quote
Reply

Tags
0day, admin, announced, channel, redirect

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 09:31 AM.

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