Merge pull request #3 from tmathmeyer/master

pow
This commit is contained in:
Dimitar Dimitrov 2013-07-22 13:00:05 -07:00
commit 6075bf719a
2 changed files with 9 additions and 0 deletions

BIN
modules/math/nums.class Normal file

Binary file not shown.

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 -cp math/ nums $equ)
echo "PRIVMSG $channel :$sender: $res"