is there a way to create a botnet of two bots.. like one that is a normal eggdrop and the other acts as a spambot for the bot, only cycle the channel every x mins and the first bot kickbans the spammers when they spam the cycle bot ??
Sure there would be a way to do that... but first, have you tried NoSpam! by ppslim? I haven't had the need to use this script, but knowing how ppslim likes to spit out lines and lines of code ( ), it very well may already do what you are wanting to. I believe the page for it can be found at sourceforge.
Try that first, no sense in reinventing the wheel if it's already been done.
# If you want this copy of no!spam to forward all spammers to another bot for processing
# then set this to 1. If you do not want to forward, then set this to 0.
#
# How this Works: The hub will sit and monitor for spam like normal, but instead of
# banning the spammer itself, it will ask the leaf(s) to take care of it.
#
# The hub sends the leaf(s) all the appropriate settings to handle the
# bans. (such as ban time, ban reason, etc.) So you MUST continue
# setting up the rest of this TCL for the leaf to work properly.
#
# The only thing always processed by the hub will be $spam_file_warn.
#
# Please Note: The hub is this bot, and the leaf(s) will being any bots running
# no.spam.leaf.tcl. These do not have to do with botflags or sharing.
#
# Though, the bots must be linked with the hub running no!spam 1.7.0
# or later, and the leaf(s) using no.spam.leaf.tcl.
I want exactly the opposite.
if the leaf bot get's spammed, it relays to the hub bot and the hub bot will kickban the spammer.
It looks like you are confusing the names up a little here.
What you and I class as a hub or leaf are the oposite way around.
In my eyes (and is why the script is coded as such):
A Hub is:
The workhorse of the pack. It is designed with high processing power and check every incoming message for spam.
A Leaf is:
A bot lower down the chain,t hat doesn't require as much power. Its job is to simply sit and wait for a hub to tell it that there was a spammer to kick/ban.
Yes, I think that's what ppslim meant.
The Leaf bot is opped and waits for the Hub to relay any spammer info upon cycling the channel.
As for setting up a botnet, it really shouldn't take you more than a few minutes with the link GodOfSuicide posted earlier (which is part of Slennox's site of course). I learned how to do it by visiting that page. It's very well explained.