Simple proof-of-concept IRC bot written with (g)awk.
Find a file
2018-03-02 11:39:27 +01:00
awkson.awk Use gawk-internal strftime instead of date. 2015-07-09 13:25:39 +02:00
README.md Requires GNU awk now (for strftime). 2018-03-02 11:39:27 +01:00

awkson

Simple proof-of-concept IRC bot written with (g)awk.

It's really just a PoC, it doesn't do anything useful. If you really want to use it, adjust the process function to your needs.

IRC options are read from the environment variables $NICK, $REAL_NAME, $CHANNEL and (optional) $CHANNEL_PASSWORD.

It requires socat (or a similar tool) as wrapper for the actual connection to the server. Run like this:

socat OPENSSL:irc.hackint.org:9999,verify=0 EXEC:'gawk -f awkson.awk'