Difference between revisions of "Nanobot FAQ"

From Insomnia 24/7 Wiki
Jump to: navigation, search
imported>Wikiadmin
(I tried to load a module, but it sais it's not valid perl)
imported>Wikiadmin
(I need INET6 even though I don't use IPv6)
Line 31: Line 31:
  
 
== I need INET6 even though I don't use IPv6 ==
 
== 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.
+
The new version uses IO::Socket::INET6 over IO::Socket::INET for IPv6 compatebility.<br />
 +
INET6 is backward compatible with IPv4, so you will still be able to use it with the new library. If you do not have support IPv6 (yet), a version using the old INET library will be made available with the final release of version 3.

Revision as of 15:13, 1 March 2011

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 says 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.
INET6 is backward compatible with IPv4, so you will still be able to use it with the new library. If you do not have support IPv6 (yet), a version using the old INET library will be made available with the final release of version 3.