Difference between revisions of "Nanobot FAQ"

From Insomnia 24/7 Wiki
Jump to: navigation, search
imported>Wikiadmin
imported>Wikiadmin
Line 1: Line 1:
 
== What command are available? ==
 
== 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.)<br />
 +
On some networks hostmasks are masked, or a fake hostname may be set once you identify with NickServ.<br />
 +
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.<br />
 +
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.<br />
 +
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.

Revision as of 15:07, 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 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.