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:
a315ba6
)
Very big commit fixing problems with czech letters in MegaHAL
author
Harvie
<tomas@mudrunka.cz>
Tue, 17 Jan 2012 05:16:40 +0000
(06:16 +0100)
committer
Harvie
<tomas@mudrunka.cz>
Tue, 17 Jan 2012 05:16:40 +0000
(06:16 +0100)
purple/answerscripts.d/00-megahal.sh
patch
|
blob
|
blame
|
history
diff --git
a/purple/answerscripts.d/00-megahal.sh
b/purple/answerscripts.d/00-megahal.sh
index 82c61f359471d1eda25882b35c24dea2353d7659..ab636c1607726d14f6551de3b45d1a2d1b8334aa 100755
(executable)
--- a/
purple/answerscripts.d/00-megahal.sh
+++ b/
purple/answerscripts.d/00-megahal.sh
@@
-6,5
+6,5
@@
AI_LOUD=false #enable loud replies (otherwise will be learning only :-)
AI_LOUD_UNAVAILABLE=true; #enable loud replies when not available :-)
$AI_LOUD_UNAVAILABLE && [ "$ANSW_L_STATUS" != 'available' ] && AI_LOUD=true
-AI_ANSW="$({ echo "$ANSW_MSG" && echo -e '\n#quit\n'; } | timeout 23 megahal -p -b -w | tail -n1)"
+AI_ANSW="$({ echo "$ANSW_MSG
.
" && echo -e '\n#quit\n'; } | timeout 23 megahal -p -b -w | tail -n1)"
$AI_LOUD && [ -n "$AI_ANSW" ] && echo -n "[MegaHALuz]: $AI_ANSW"
This page took
0.188133 seconds
and
4
git commands to generate.