Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
A markov chain bot in lua
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
_ __ __ ____ __ __ ____ | | __ _ _ __ ___ ___| \/ |/ ___| \/ |/ ___| | | / _` | '_ ` _ \ / _ \ |\/| | | | |\/| | | | |__| (_| | | | | | | __/ | | | |___| | | | |___ |_____\__,_|_| |_| |_|\___|_| |_|\____|_| |_|\____| 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.