how to link two eggdrops



In order for two (or more) eggdrops to be efficient they should be linked in a botnet.
In order to link two bots in a botnet you will have to dcc chat each one of them and do as listed next:
Lets say we have two bots BotA and BotB


On the BotB
.+bot BotA $adress:$port $host
.botattr BotA +hgs (can be any $flags)

On BotA
.+bot BotB $adress:$port $host
.botattr BotB +pg
.link BotB

Where $adress is the Ip adress of BotA (it can also be a dns adress like bota.org), $port is the port specified in the eggdrop.conf file ( default 3333 ), $host is BotA's host and $flags are the flags assigned to BotA. These flags are:

- s (share) standard eggdrop flag. BOT is sharing user records, aggressively. (other bots will download the userfile from this bot)

- p (share) standard eggdrop flag. BOT is sharing user records, passively. (this bot will download the userfile from the +s bot

- g (global share) standard eggdrop flag. Share all channels.

- h (hub) standard eggdrop flag. BOT is auto-linked at highest priority.

- a (alternate) standard eggdrop flag. BOT is auto-linked if no hub bots can be linked.

- l (leaf) standard eggdrop flag. BOT is not allowed to link in other bots.

- r (reject) standard eggdrop flag. BOT will not be allowed on the net.

- i (isolate) standard eggdrop flag. Isolate the party line across a botlink.

Now do the same on BotB