3 Q: What are factpacks and how do I install them?
4 A: A factpack is a partial database of factoids that you can import into
5 your configured infobot by running the script called "factpack.pl".
7 # IMPORTANT: Run from the bots base directory!
8 eg: ./scripts/factpack.pl /path/to/areacodes.fact
10 Q: Can I remove a fact pack I have installed?
11 A: Yes, but at the moment, you need to manually use SQL commands in your
12 favorite SQL program. The "created_by" field in the factoids will be
13 set to the filename of the fact pack you installed. For example, if
14 you installed the "areacodes.fact" file, "created_by" would be set to
15 "areacodes.fact". The SQL to remove the above example would be:
17 sql> DELETE FROM factoids WHERE created_by = 'areacodes.fact';
19 Q: The bot exits after I run 'factstats testing' or 'kernel' or anything
20 that uses fork(). Is this a bug in the bot?
22 A: No, this is not a bug in the bot but rather Net::IRC. A cheap hack is
23 to edit /usr/lib/perl5/Net/IRC/Connection.pm, search for DESTROY, and
24 comment out '$self->quit();'
27 Q: I notice that, in the bot logs, the bot attempts to close all current
28 DCC CHAT connections whenever a forked process ends. Why is this?
30 A: Yet another bug in Net::IRC. Currently, DCC CHAT connections are not
31 closed because there is an endless-loop bug when it is done.
34 Q: I executed 'scripts/setup_user.pl' but it said 'connection refused to
37 A: Looks like a bug in the installation of mysqld. You need to reload or
39 reload => 'mysqladmin -u root -p reload'
40 restart => '/etc/init.d/mysql stop; /etc/init.d/mysql start'
42 Q: How do I get my bot to automatically ask for OP's from chanserv?
44 A: By default, the "chanServCheck" option is off in _default. You can
45 set it on a per channel basis or as default. For example, the following
46 commands will enable asking for OP by default, except on #notmychannel
48 chanset _default chanServCheck 1
49 chanset #notmychannel chanServCheck 0
51 # vim:ts=4:sw=4:expandtab:tw=80