Bashbot was originally an idea and bash snippet from Jonathan Hitchcock. I took it and bastardised it beyond imagination.
It’s a fully-featured, modular IRC bot.
The modules come in 2 types:
fooif it exists.
# ^(.*) is( also)? (.*)$will be executed if you try and set a factoid with “bot: Spinach is a vegtable”
This bot is a security nightmare. I haven’t found any mistakes, but you’d be insane to run this in anything but the most strictly-controlled environment.
No optimisation included :-)