Given the source isn't released, how about an IRCd in bash: https://github.com/dgl/bash-ircd