This commit is contained in:
Ted Meyer 2013-07-22 15:45:38 -04:00
parent 6b096456c6
commit cd8de08fc3

9
modules/pow.sh Executable file
View File

@ -0,0 +1,9 @@
#! /bin/sh
# Ted Meyer
# Incredibly stupid Math bot
#
sender=$1 # sender (the person I am talking to)
channel=$2 # channel
equ=$3 # math equ
res=$(java nums $equ)
echo "PRIVMSG $channel :$sender: $res"