infobot_import - import an old infobot brain into new infrastructure
infobot-import dsn [user [password]]
If you're using a stock infobot then changing to the directory where the bot stores its config. There should be files lying around like <botname>-is.(dir|pag). Then do :
If it's a modified infobot using the DBI backend then doing something like
infobot-import dbi:mysql:<dbname> <username> <password>
You can also import factoids from factpacks such as the ones at
where filename ends in .fact.
It should be noted that if you have a lot of items then the Storable backend, whilst quick, will bloat up to a lot of memory. the DBI backend is slow but efficient. The Deep backend is a good compromise.
This program will import the values for an existing, old style infobot into a new style.
- infobot factoids
- seen lists
- ignore lists
it will look in the current directory for an infobot.config for which
Bot::BasicBot::Pluggable::Store backend to use.
infobot documentation for details on the
Store config keys.
Simon Wistow <email@example.com>
Copyright 2005, Simon Wistow
Distributed under the same terms as Perl itself