This module provides botnet support for the bot, it uses the botnet protocol of 1.3 & 2.0 version eggdrops. To allow older versions to link in, use the botnet1_1 module
putbot <bot-nick> <message>
sends a message across the bot-net to another bot; if no script intercepts the message on the other end, the message just vanishes
returns: nothingputallbots <message>
broadcasts a message across the bot-net to all currently connected bots
returns: nothingbots
returns: list of the bots currently connected to the botnetbotlist
returns: a list of the bots currently connected, each item is a list, the first item of which is the botname, the second it's uplink, the third it's version number (if know) and the forth it's share flagwhom <chan>
returns: list of people on the botnet who are on that channel (0 is the default party line); each item in the list will be a sublist with six elements: nickname, bot, hostname, access flag ('-', '@', '+', or '*'), minutes idle, and away message (blank if the user is not away)
If you specify a channel of * every user on the botnet is returned with an extra argument indicating the channel the user is onlink [via-bot] <bot>
attempts to link to another bot directly (or, if you give a via-bot, it tells the via-bot to try
returns: "1" if it looks okay and it will try; "0" if notunlink <bot>
attempts to remove a bot from the botnet
returns: "1" if it will try or has passed the request on; "0" if notboot <user@bot> [reason]
boot's a user from the partyline
returns: nothingaddbot <handle> <address>
creates a new bot entry with the handle and bot linking address given (with no password and no flags)
returns: "1" if successful, "0" if it already existedbotattr <handle> [changes [channel]]
similar to chattr except for bot attributes rather than normal user attributes, this includes the channel-specific +s share flagbotport <port> [mask]
accepts connections from bots only; the optional mask is used to identify permitted bot names; if the mask begins with '@' it is interpreted to be a mask of permitted hosts to accept connections from
returns: port #
botportoff
turns off a listening port
network
a string describing the IRC network the bot is on, mearly for informationremote-boots
0 = no remote boots
1 = sharebots may boot
2 = all remote boots allowed
share-unlinks
0 = no remote sharebot unlinks
1 = allowed
bot-timeout
seconds to wait for various bot timeouts to occurbotnet-nick
the bots nick on the botnet
Too many to mention, look at the code! :)