add talk module to make the bot talk
This commit is contained in:
parent
78f02d16dd
commit
478d5f35e7
45
.bot.cfg
Normal file
45
.bot.cfg
Normal file
@ -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
|
@ -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"
|
||||
|
BIN
eliza_java.jar
Normal file
BIN
eliza_java.jar
Normal file
Binary file not shown.
BIN
modules/eliza_java.jar
Normal file
BIN
modules/eliza_java.jar
Normal file
Binary file not shown.
1
modules/output
Normal file
1
modules/output
Normal file
@ -0,0 +1 @@
|
||||
bye
|
6
modules/talk.sh
Executable file
6
modules/talk.sh
Executable file
@ -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`"
|
Loading…
Reference in New Issue
Block a user