I don't know quite how far you into this, but I had an idea for Fukkit on POSIX that you might like.
It involves connecting stdin of the bash terminal to the chat line of the game.
It involves connecting stdin of the bash terminal to the chat line of the game.