diff --git a/modules/math.sh b/modules/math.sh new file mode 100755 index 0000000..f01775a --- /dev/null +++ b/modules/math.sh @@ -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" \ No newline at end of file diff --git a/modules/math/nums.class b/modules/math/nums.class new file mode 100644 index 0000000..aa17d29 Binary files /dev/null and b/modules/math/nums.class differ