stormbot/modules/talk.sh
2013-07-19 13:42:58 -04:00

7 lines
120 B
Bash
Executable File

#! /bin/sh
echo $3 >> input
cat input | java -jar ./eliza_java.jar > output
echo "PRIVMSG $2 :$1: `tail -n 1 output`"