GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa9b0a
)
Added support for MegaHAL AI ChatterBot (Both: Learning and Conversation mode)
author
Harvie
<tomas@mudrunka.cz>
Mon, 16 Jan 2012 22:04:38 +0000
(23:04 +0100)
committer
Harvie
<tomas@mudrunka.cz>
Mon, 16 Jan 2012 22:04:38 +0000
(23:04 +0100)
purple/answerscripts.d/00-megahal.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/purple/answerscripts.d/00-megahal.sh
b/purple/answerscripts.d/00-megahal.sh
new file mode 100755
(executable)
index 0000000..
fd3a4cf
--- /dev/null
+++ b/
purple/answerscripts.d/00-megahal.sh
@@ -0,0
+1,5
@@
+#!/bin/sh
+#Artificial Pseudo Inteligence using megahal package :-)
+#More info: http://megahal.alioth.debian.org/
+#alias cat=true #silent mode, comment out to enable loud replies :-)
+echo -n '[MegaHAL]:' $({ echo "$ANSW_MSG" && echo -e '\n#quit\n'; } | megahal -p -b | tail -n1) | cat
This page took
0.12731 seconds
and
4
git commands to generate.