X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=FAQ;h=30681dfc3bcdf25619c6190c3ffe4e0008aa0303;hb=b7a878cdc2e3a3b07067b7fa6961f7983ce7c5d3;hp=37f4cf23e263db518ec695bffbf64396a014739b;hpb=8c02af53f6f6b48e13fcea6462b41a2323435a35;p=infobot.git diff --git a/FAQ b/FAQ index 37f4cf2..30681df 100644 --- a/FAQ +++ b/FAQ @@ -1,12 +1,27 @@ # $Id$ +Q: What are factpacks and how do I install them? +A: A factpack is a partial database of factoids that you can import into + your configured infobot by running the script called "factpack.pl". + + # IMPORTANT: Run from the bots base directory! + eg: ./scripts/factpack.pl /path/to/areacodes.fact + +Q: Can I remove a fact pack I have installed? +A: Yes, but at the moment, you need to manually use SQL commands in your + favorite SQL program. The "created_by" field in the factoids will be + set to the filename of the fact pack you installed. For example, if + you installed the "areacodes.fact" file, "created_by" would be set to + "areacodes.fact". The SQL to remove the above example would be: + + sql> DELETE FROM factoids WHERE created_by = 'areacodes.fact'; + Q: The bot exits after I run 'factstats testing' or 'kernel' or anything that uses fork(). Is this a bug in the bot? A: No, this is not a bug in the bot but rather Net::IRC. A cheap hack is to edit /usr/lib/perl5/Net/IRC/Connection.pm, search for DESTROY, and comment out '$self->quit();' -A: Apply the patches in the patches/ directory. Q: I notice that, in the bot logs, the bot attempts to close all current @@ -32,3 +47,5 @@ A: By default, the "chanServCheck" option is off in _default. You can chanset _default chanServCheck 1 chanset #notmychannel chanServCheck 0 + +# vim:ts=4:sw=4:expandtab:tw=80