It seems that when the hub bot gets disconnected and comes back they all unlink. Then when I try to manually link them again using ".link botname" it says there already linked.
(12:24:37) <Me> .link botname
(12:24:38) <botname> Already linking to that bot.
I followed everything carefully on linking the bots on the main page of this site. When there linked it's fine just they seem to unlink as stated above.
this is because when an eggdrop gets disconnected from the irc server it doesnt mean it's not running on the shell background, this means even though it disconnects from the irc server, the bot is still running and other bots are still connected on the botnet to that eggdrop. Now if the bot 'dies' this means all connections are dropped since the bot is no longer running. If the bot just disconnect from the irc server all the bots are still linked so u dont need to relink them, this explains why when u try to relink the bots it says already linked.
hope this helps feel free to reply if you didnt understand and i will try to explain it in a different way
As your hub drops all connections like that, it would seem your hosting it on a computer with an unreliable uplink. In any case, to your query:
The error is, to be honest, pretty obvious; you are trying to initiate a link to another bot, that has already been started.
The cause for this? One of eggdrop's features to make botnets slightly easier to maintain.
Any and all bots will check their botrecords for any bots with "h" (hub) or "a" (althub) botflags. A bot will always try to keep a direct link with any "h"-bot (that is, automatically try to link if we're not linked to it directly). A bot will also try to link with all "a"-bots if there is no "h"-bot linked at the moment. In your case, as soon as your hub-bot drops its connections, the leafs will try to reestablish the link with your hub, and hence you get the error-message when you yourself try to link them aswell.