View Full Version : 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
EwarWoo
12-10-2004, 08:13 AM
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 :)
thanks, unfortunatly this dosent work.
esmandil
12-12-2004, 08:50 AM
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 ;)
interested also for this question but i don't understand esmandil lol
esmandil
12-12-2004, 06:14 PM
LOL. Yeah, I guess you need some programming and TCL knowledge to understand it... you may try to learn, it's not that difficult :D
I don't need that feature, so won't be coding it, sorry. At least not anytime soon.
fL4sh.r0x
01-07-2006, 09:47 AM
So? which is the coding? I'm interested to it!
Please!
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.