added shitty math thing

This commit is contained in:
Ted Meyer 2013-07-22 15:42:38 -04:00
parent 6fa615ca02
commit b6eda82fa7
2 changed files with 9 additions and 0 deletions

9
modules/math.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"

BIN
modules/math/nums.class Normal file

Binary file not shown.