add talk module to make the bot talk

This commit is contained in:
Vy Nguyen
2013-07-19 13:42:58 -04:00
parent 78f02d16dd
commit 478d5f35e7
6 changed files with 56 additions and 4 deletions

BIN
modules/eliza_java.jar Normal file

Binary file not shown.

1
modules/output Normal file
View File

@ -0,0 +1 @@
bye

6
modules/talk.sh Executable file
View File

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