stormbot/modules/talk.sh
2013-07-19 15:44:37 -04:00

11 lines
154 B
Bash
Executable File

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