diff --git a/.bot.cfg b/.bot.cfg new file mode 100644 index 0000000..63d5a0a --- /dev/null +++ b/.bot.cfg @@ -0,0 +1,45 @@ +NICK elizabot2 +USER elizabot2 elizabot2 elizabot2 : elizabot2 +JOIN #interns +PONG :3D818075 +JOIN #interns +PRIVMSG #interns :Vy: The available modules I have are: +PRIVMSG #interns :Vy: ping talk~ help eliza_java.jar rps talk output~ output args +PRIVMSG '#interns' :'Vy': 'bye' +PRIVMSG #interns :Vy: bye +PRIVMSG #interns :Vy: Bye again! +PONG :irc.tripadvisor.com +PRIVMSG #interns :Vy: The available modules I have are: +PRIVMSG #interns :Vy: ping talk~ help eliza_java.jar rps talk output~ output args +PRIVMSG #interns :Vy: Hi +PRIVMSG #interns :Vy: Hi +PONG :irc.tripadvisor.com +PRIVMSG #interns :Vy: The available modules I have are: +PRIVMSG #interns :Vy: ping talk~ help eliza_java.jar rps talk output~ output args +PRIVMSG #interns :Vy: +PRIVMSG #interns :Vy: I'm not sure I understand you fully. +PRIVMSG #interns :Vy: The available modules I have are: +PRIVMSG #interns :Vy: ping talk~ help eliza_java.jar rps talk output args +PRIVMSG #interns :Vy: Hi. What seems to be your problem ? +PRIVMSG #interns :Vy: How do you do. Please state your problem. +PRIVMSG #interns :Vy: Are you saying no just to be negative? +PRIVMSG greg :greg: Are you saying no just to be negative? +PRIVMSG greg :greg: Are you saying no just to be negative? +PRIVMSG greg :greg: Do you feel strongly about discussing such things ? +PRIVMSG greg :greg: Do you feel strongly about discussing such things ? +PRIVMSG greg :greg: Do you feel strongly about discussing such things ? +PRIVMSG greg :greg: Do you feel strongly about discussing such things ? +PRIVMSG greg :greg: Do you feel strongly about discussing such things ? +PRIVMSG greg :greg: Do you feel strongly about discussing such things ? +PRIVMSG greg :greg: Please go on. +PRIVMSG greg :greg: Please go on. +PRIVMSG greg :greg: Please go on. +PRIVMSG greg :greg: Please go on. +PRIVMSG #interns :Vy: Nice talking to you! My secretary will send you the bill! +PRIVMSG greg :greg: Nice talking to you! My secretary will send you the bill! +PRIVMSG greg :greg: Nice talking to you! My secretary will send you the bill! +PONG :irc.tripadvisor.com +PONG :irc.tripadvisor.com +PONG :irc.tripadvisor.com +PONG :irc.tripadvisor.com +PONG :irc.tripadvisor.com diff --git a/bot.properties b/bot.properties index 158b8da..7f39ffc 100644 --- a/bot.properties +++ b/bot.properties @@ -1,4 +1,4 @@ -server="irc.freenode.net" -channel="linux" -nick="irc-bash-bot" -user="username hostname servername :realname" +server="irc.tripadvisor.com" +channel="interns" +nick="elizabot2" +user="elizabot2 elizabot2 elizabot2 : elizabot2" diff --git a/eliza_java.jar b/eliza_java.jar new file mode 100644 index 0000000..b7d34b6 Binary files /dev/null and b/eliza_java.jar differ diff --git a/modules/eliza_java.jar b/modules/eliza_java.jar new file mode 100644 index 0000000..b7d34b6 Binary files /dev/null and b/modules/eliza_java.jar differ diff --git a/modules/output b/modules/output new file mode 100644 index 0000000..b023018 --- /dev/null +++ b/modules/output @@ -0,0 +1 @@ +bye diff --git a/modules/talk.sh b/modules/talk.sh new file mode 100755 index 0000000..42b4902 --- /dev/null +++ b/modules/talk.sh @@ -0,0 +1,6 @@ +#! /bin/sh + +echo $3 >> input +cat input | java -jar ./eliza_java.jar > output + +echo "PRIVMSG $2 :$1: `tail -n 1 output`"