stormbot/modules/talk.sh

7 lines
120 B
Bash
Raw Normal View History

2013-07-19 13:42:58 -04:00
#! /bin/sh
echo $3 >> input
cat input | java -jar ./eliza_java.jar > output
echo "PRIVMSG $2 :$1: `tail -n 1 output`"