Add double meme on meme meme me to irritate KatolaZ. - annna - Annna the nice f… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit d30cb6f9b50eabc1f844f4830cb85c2180ba249f | |
parent a73c9d4c6c51f318604d6debf67d79ae24e118e1 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Thu, 7 May 2020 13:12:55 +0200 | |
Add double meme on meme meme me to irritate KatolaZ. | |
Diffstat: | |
M annna-start-services | 25 +++++++++++++++---------- | |
1 file changed, 15 insertions(+), 10 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -346,7 +346,7 @@ then | |
randomtag=0 | |
if [ "${text}" = "${botname}, please meme meme meme me." ]; | |
then | |
- randomtag=1 | |
+ randomtag=2 | |
fi | |
if [ "${text}" = "${botname}, what's the wheelchair shooter me… | |
@@ -377,18 +377,23 @@ then | |
;; | |
esac | |
- if [ $randomtag -eq 1 ]; | |
+ if [ $randomtag -gt 0 ]; | |
then | |
- rtag="$(printf "%s\n" "$(hashtags)" | shuf -n 1)" | |
- tagname="" | |
- taguri="" | |
- for tag in ${rtag}; | |
+ while [ $randomtag -gt 0 ]; | |
do | |
- [ -z "${tagname}" ] && tagname="${tag}" && con… | |
- taguri="${tag}" | |
- done | |
+ rtag="$(printf "%s\n" "$(hashtags)" | shuf -n … | |
+ tagname="" | |
+ taguri="" | |
+ for tag in ${rtag}; | |
+ do | |
+ [ -z "${tagname}" ] && tagname="${tag}… | |
+ taguri="${tag}" | |
+ done | |
- annna-say -c "#bitreich-en" "${tagname}: ${taguri}" | |
+ annna-say -c "#bitreich-en" "${tagname}: ${tag… | |
+ | |
+ randomtag=$(($randomtag - 1)) | |
+ done | |
else | |
tagname="" | |
taguri="" |