Introduction
Introduction Statistics Contact Development Disclaimer Help
Add stupid love game to annna. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit e349aa5f4c2a35dc72f8be2956a27138d7a3cafe
parent 26fee0de6012de8a100cbc1eea49331c2a4d7025
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 19 Apr 2020 21:40:29 +0200
Add stupid love game to annna.
Diffstat:
M annna-start-services | 14 ++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -231,6 +231,20 @@ then
fi
annna-say -c '#bitreich-en' "${purl}"
;;
+ "${botname}, are "*)
+ case "${text}" in
+ *" in love?")
+ words="$(printf "%s\n" "${text}" | sed 's,.*ar…
+ lovedistance="$(printf "%s * 100\n" "$(fstrcmp…
+ if [ $lovedistance -gt 15 ];
+ then
+ annna-say -c '#bitreich-en' 'Yes!!! Pu…
+ else
+ annna-say -c '#bitreich-en' "No."
+ fi
+ ;;
+ esac
+ ;;
esac
case "${text}" in
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.