Fix problem with beef interpreter
Fixed memory leaks
Added additional port validation check
An IRC bot written in brainfuck.
I've included a simple brainfuck interpreter that uses a TCP connection for input and output.
You can probably run this through a regular old brainfuck interpreter and do some crazy shit to wire it up to a TCP connection, but I didn't feel like it. You can probably make something work with socat.
You can use the custom bf interpreter like this:
netfuck hostname:port path/to/code.bf
For example, to connect the bot to freenode, use this:
netfuck irc.freenode.net:6667 irc-bot.bf
If you use netfuck on Linux or Mac, you need to install mono and prefacae every command with mono
, for
instance, mono netfuck.exe hostname:port path/to/code.bf
.
Then, to get it into your favorite channel, use this from IRC:
/msg bfbot J #channelname
A couple of simple C# programs are included.
Current capabilities of the bot: