I am not a fan of trac's wiki so I will make this general, anyone else can make it pretty.
- create a directory inside your .rbot folder named factoids
- download your desired fact files from here or create your own in that dir
- tell your bot 'facts import <file name>' for each file you wish to load
- It will load all those facts..
These facts can than be called with facts about <search term>
Be warned about USA zips, finding any facts about a city will become useless.
<hr>
Another way and BETTER to do it is to rename a .fact file to keywords.rbot, leave it in side your ~/.rbot dir and restart the bot. The bot will load all these into the keyword database, and rename the file to keywords.rbot.old. If you do this, you must set keyword.listen to true. To have the bot say a fact back, just type botname: fact?
an Example:
13:07 < Georgyo> nycrbot: zip 10001?
13:07 <@nycrbot> zip 10001 is New York, New York, NY
13:08 < Georgyo> nycrbot: port 21?
13:08 <@nycrbot> port 21 is ftp - File Transfer [Control]
13:08 < Georgyo> nycrbot: rfc 1987?
13:08 <@nycrbot> rfc 1987 is Ipsilon's General Switch Management Protocol Specification Version 1.1. P. Newman, W. Edwards, R. Hinden, E.
Hoffman, F. Ching Liaw, T. Lyon & G. Minshall. August 1996. (Format: TXT=105821 bytes) (Status: INFORMATIONAL)
