Nanobot FAQ
Contents
- 1 What command are available?
- 2 How do I change the IRC server/bot name etc?
- 3 My bot doesn't listen to me, what's going on?
- 4 My bot seems to be connecting, but it's not joining channels
- 5 My bot joins, but it takes really long before it joins any channels
- 6 I tried to load a module, but it sais it's not valid perl
- 7 I unloaded a module, but I still see some behaviour associated with it!
- 8 I changed a modules function name and reloaded it, but the old function remains available!
- 9 I need the SSL library to start the bot, even though I do not use SSL to connect to the network.
- 10 I need INET6 even though I don't use IPv6
What command are available?
A full list of commands may be found here: Nanobot_manual#Bot_commands
How do I change the IRC server/bot name etc?
The cofiguration settings can be found here: Nanobot_manual#Configuration
My bot doesn't listen to me, what's going on?
Make sure you have the correct hostmask set in the bot's admin list. (See Nanobot_manual#Configuration for more information on how.)
On some networks hostmasks are masked, or a fake hostname may be set once you identify with NickServ.
If you are IRC operator on the network, keep in mind that things like hostmasks and virtual hostnames may not be shown for you.
My bot seems to be connecting, but it's not joining channels
In some cases IRC networks require you to respond to a PING request before you're allowed to join channels.
You can configure this by changing $wait_for_ping = 0; to $wait_for_ping = 1; in the bot's configuration.
My bot joins, but it takes really long before it joins any channels
The reverse of the question above. It is probably waiting for a ping command, even though it does not need to do so.
I tried to load a module, but it sais it's not valid perl
You are possibly missing some libraries the module uses, or it really isn't valid perl.
You can check the exact error message by running perl -c mymodule.pm on your module file.
I unloaded a module, but I still see some behaviour associated with it!
Yes, unfortunately, there is no way to truely unload a module in Perl. Even when a module is technically unloaded, it will remain in memory until the bot is restarted. There is no way to fix this by Perl's very design.
I changed a modules function name and reloaded it, but the old function remains available!
Same answer as the question above. It can not be helped.
I need the SSL library to start the bot, even though I do not use SSL to connect to the network.
The SSL library will still be loaded on start, a version without SSL will be made available at the final release of version 3.
I need INET6 even though I don't use IPv6
The new version uses IO::Socket::INET6 over IO::Socket::INET for IPv6 compatebility. If you do not support IPv6 (yet) a version using the old INET library will be made available with the final release of version 3.