Skip to content
A markov chain bot in lua
Lua Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
README.guts
dumper.lua
fe.lua
ircmode.sh
mm.lua

README

 _                         __  __  ____ __  __  ____ 
| |    __ _ _ __ ___   ___|  \/  |/ ___|  \/  |/ ___|
| |   / _` | '_ ` _ \ / _ \ |\/| | |   | |\/| | |    
| |__| (_| | | | | | |  __/ |  | | |___| |  | | |___ 
|_____\__,_|_| |_| |_|\___|_|  |_|\____|_|  |_|\____|
                                  The Lua markov bot!

This distribution contains:
mm.lua -- the guts: implementation of training, response generation & ranking
dumper.lua -- serializes lua tables
fe.lua -- frontend: everything with file i/o or irc-specific code
ircmode.sh -- connects to irc using epic/ircii
mm.db -- the serialized representation of the current training data

Notes:
ircmode.sh uses dot-files for temporary storage, as a pipe. These are of the
form .$$, where $$ is the PID of the instance of ircmode.sh. These contain the complete log of activity as output by epic in dumb mode. These could get very 
large, and they are not deleted if you kill the bot with a control-c or some
other SIGINT/SIGKILL. So, if you are force-killing the bot frequently and 
you want to save space, periodically clean out stale dotfiles.

Please do not op the bot! We do not actually check who requests commands,
and we have a passthrough for irc commands. So, if the bot is opped, any
user can perform any operator actions.

You can’t perform that action at this time.