From b6eda82fa7cf7f36f4ae0f1a4c5a7ee158c9d3b9 Mon Sep 17 00:00:00 2001 From: Ted Meyer Date: Mon, 22 Jul 2013 15:42:38 -0400 Subject: [PATCH 1/5] added shitty math thing --- modules/math.sh | 9 +++++++++ modules/math/nums.class | Bin 0 -> 1488 bytes 2 files changed, 9 insertions(+) create mode 100755 modules/math.sh create mode 100644 modules/math/nums.class 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 0000000000000000000000000000000000000000..aa17d295ab77eabf1a16ea6c741ab566efce53ab GIT binary patch literal 1488 zcma)+O;aOP6o%hRZhs_%;mZ!74m2PVLh}`%0|U%VU`ESSX0!%tsw^$XCey?8kfdYM zaiHAl-i0d{lsh)M7#B#nz`a}lh5x`R72g}8h_bM%>-N3po_o&oo^!i@`s0UF0E@Vj zKrhDP7{_ZSCK7lZlP1y$Od(@pI)NTI24+mmCNPJ2wO&w8SrdzDv1DM`fGeP{2h||D zDG*CfJrs~z;bUK*yBJjc`_0OZUw_xzDbpe=UQiWCrQa_;^FHzB%3gJMZab<6)!j99 zuxmT=N_+RbTFalQ8L{5viPiLf5BwjC3Tl?a-A8^cC^3J!F!h!|(%-K=s)Uc*Ry|!P z6s8ISiS4jiFZpi-iZxzsRvNPkGl@R*8^|TGf>nWmgRp5oxSKB)-?JOd(w^-_cEyXH z8n}_f8rB6mKKRhUMiMu1OF&E{@iJZ!=)aJBcfaJ|Y>yyWC^%g)L?#k`8^tcX%ciVL>4cb@sB=#pvspb_~M_9AR@!#Xc~5YD~B z#zkzO?^V|R(s$V`VAPaTnM$oIdZ_yIkKE^1K|pKN$^lbNUUlS(yCZPzLO?OB?y`L~ zuio&_=T~NCztwekh*93;UVaXM2BBKb@g=UV^DUG$^F721PAGw+-ZC-)QW)S|xqbnO z7~eNDr(dD-J9PBLjv+Ir@@vdwV%a|J7&G%YDUit<3_AVC-*}F-8XoG%D^ST`%>IFv}P- zk7Eea%%>O(bnLVdc*EKVhZJCN^VV=a=E|6>_1La%>4%uL<6j;kWn22Ec}sJprCIt% zu6A_x%djPBk}eHe+0~EEezxQ{3~^o=m+BQ?2W%3Jl5LE27$?;PyE4ftrMbiZ7`f)) z@LxBBb=>`R?6L9Iu!%RZ)xz$E{0%YrJBEZD{FRqhP@$^F=$|!-A0_|* literal 0 HcmV?d00001 From 1490c7189b6e3ceb8058660ecb323200939a9ddb Mon Sep 17 00:00:00 2001 From: Ted Meyer Date: Mon, 22 Jul 2013 15:44:08 -0400 Subject: [PATCH 2/5] added halp --- modules/math/nums.class | Bin 1488 -> 1528 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/modules/math/nums.class b/modules/math/nums.class index aa17d295ab77eabf1a16ea6c741ab566efce53ab..b23d8c4ec8d90fa8d7a10d21e2d79829f133effa 100644 GIT binary patch delta 70 zcmcb>{eyc$52K|;WqzqbacOe4LSl(RZemG>jsi#|FEuqqp(I}+HLoPKNFgyUNi`Y7 UO;0UR&;ar@Rg*W*Wi)010D~VF^8f$< delta 30 lcmeyteSv#J52K(!WqzqbacOe4LSl(RZemHs=A(?pEC8_N3f}+# From 6b096456c667640bad6c43dbcb781bbefc594a45 Mon Sep 17 00:00:00 2001 From: Ted Meyer Date: Mon, 22 Jul 2013 15:45:05 -0400 Subject: [PATCH 3/5] renamed --- modules/math.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 modules/math.sh diff --git a/modules/math.sh b/modules/math.sh deleted file mode 100755 index f01775a..0000000 --- a/modules/math.sh +++ /dev/null @@ -1,9 +0,0 @@ -#! /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 From cd8de08fc3f4c3ba91960144a4598ccc5c8a1fdd Mon Sep 17 00:00:00 2001 From: Ted Meyer Date: Mon, 22 Jul 2013 15:45:38 -0400 Subject: [PATCH 4/5] renamed --- modules/pow.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 modules/pow.sh diff --git a/modules/pow.sh b/modules/pow.sh new file mode 100755 index 0000000..f01775a --- /dev/null +++ b/modules/pow.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 From 4dc14599dcacb10a7eb293555af2a48015ab0f17 Mon Sep 17 00:00:00 2001 From: Ted Meyer Date: Mon, 22 Jul 2013 15:49:06 -0400 Subject: [PATCH 5/5] fixed logic error --- modules/pow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pow.sh b/modules/pow.sh index f01775a..e47ade0 100755 --- a/modules/pow.sh +++ b/modules/pow.sh @@ -5,5 +5,5 @@ sender=$1 # sender (the person I am talking to) channel=$2 # channel equ=$3 # math equ -res=$(java nums $equ) +res=$(java -cp math/ nums $equ) echo "PRIVMSG $channel :$sender: $res" \ No newline at end of file