Introduction
Introduction Statistics Contact Development Disclaimer Help
Move annna-say to the -c syntax in services. - annna - Annna the nice friendly …
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 268d613940d5dee85d90753e1d0ae8e0b803e5b2
parent 98315253d6763b544d8e180fd862bc3bf2aeb86a
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 10 Feb 2018 11:44:11 +0000
Move annna-say to the -c syntax in services.
Now everything is unified! Yeah!
Diffstat:
M annna-start-services | 52 ++++++++++++++++-------------…
1 file changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -39,14 +39,14 @@ chmod o+w "$HOME/irc/chat.freenode.net/#bitreich-radio/in"
if [ "${text}" = "${botname}, next please" ];
then
/br/bin/bitreich-radio-playlist-next
- annna-say "#bitreich-radio" "You are very kind ${user}…
+ annna-say -c "#bitreich-radio" "You are very kind ${us…
continue;
fi
if [ "${text}" = "${botname}, please help" ];
then
- annna-say "${user}" "»next please« gets the playlist…
- annna-say "${user}" "»please help« gives you this he…
+ annna-say -c "${user}" "»next please« gets the playl…
+ annna-say -c "${user}" "»please help« gives you this…
continue;
fi
done
@@ -72,31 +72,31 @@ chmod o+w "$HOME/irc/chat.freenode.net/#bitreich-radio/in"
if [ "${text}" = "${botname}, can you show me the uptime pleas…
then
- annna-say "#bitreich-en" "$(hostname) uptime: $(uptime…
+ annna-say -c "#bitreich-en" "$(hostname) uptime: $(upt…
continue;
fi
if [ "${text}" = "${botname}, please give me the count of onli…
then
- annna-say "#bitreich-en" "$(hostname): $(who -q | tail…
+ annna-say -c "#bitreich-en" "$(hostname): $(who -q | t…
continue;
fi
if [ "${text}" = "${botname}, please roll a dice for me." ];
then
- annna-say "#bitreich-en" "$((($RANDOM % 6) + 1))"
+ annna-say -c "#bitreich-en" "$((($RANDOM % 6) + 1))"
continue;
fi
if [ "${text}" = "${botname}, please tell me your favourite fl…
then
- annna-say "#bitreich-en" "My favourite flower is the b…
+ annna-say -c "#bitreich-en" "My favourite flower is th…
continue;
fi
if [ "${text}" = "${botname}, please tell me your favourite co…
then
- annna-say "#bitreich-en" "My favourite color is yellow…
+ annna-say -c "#bitreich-en" "My favourite color is yel…
continue;
fi
@@ -104,9 +104,9 @@ chmod o+w "$HOME/irc/chat.freenode.net/#bitreich-radio/in"
then
if [ $(($RANDOM % 2)) -gt 0 ];
then
- annna-say "#bitreich-en" "I am not that kind o…
+ annna-say -c "#bitreich-en" "I am not that kin…
else
- annna-say "#bitreich-en" "Thank you! Let us da…
+ annna-say -c "#bitreich-en" "Thank you! Let us…
fi
continue;
@@ -114,53 +114,53 @@ chmod o+w "$HOME/irc/chat.freenode.net/#bitreich-radio/in"
if [ "${text}" = "${botname}, please tell me who is your favou…
then
- annna-say "#bitreich-en" "My favourite pleasure man is…
+ annna-say -c "#bitreich-en" "My favourite pleasure man…
continue;
fi
if [ "${text}" = "${botname}, sudo make me a sandwich" ];
then
- annna-say "#bitreich-en" "Humans are no objects."
+ annna-say -c "#bitreich-en" "Humans are no objects."
continue;
fi
if [ "${text}" = "${botname}, sudo please make me a sandwich" …
then
- annna-say "#bitreich-en" "Here is your sandwich."
+ annna-say -c "#bitreich-en" "Here is your sandwich."
continue;
fi
if [ "${text}" = "${botname}, please update the phlog index." …
then
phlog-index.sh > /dev/null 2>&1
- annna-say "#bitreich-en" "Thank you for your kind requ…
+ annna-say -c "#bitreich-en" "Thank you for your kind r…
continue;
fi
if [ "${text}" = "${botname}, please help" ];
then
- # TODO: Add multiple line support to annna-say(1) with…
- annna-say "${user}" "»can you show me the uptime plea…
+ # TODO: Add multiple line support to annna-say -c(1) w…
+ annna-say -c "${user}" "»can you show me the uptime p…
sleep 0.5
- annna-say "${user}" "»please give me the count of onl…
+ annna-say -c "${user}" "»please give me the count of …
sleep 0.5
- annna-say "${user}" "»please tell me your favourite f…
+ annna-say -c "${user}" "»please tell me your favourit…
sleep 0.5
- annna-say "${user}" "»please tell me your favourite c…
+ annna-say -c "${user}" "»please tell me your favourit…
sleep 0.5
- annna-say "${user}" "»please dance with me.«, ${user…
+ annna-say -c "${user}" "»please dance with me.«, ${u…
sleep 0.5
- annna-say "${user}" "»please update the phlog index.�…
+ annna-say -c "${user}" "»please update the phlog inde…
sleep 0.5
- annna-say "${user}" "»sudo make me a sandwich«, ${us…
+ annna-say -c "${user}" "»sudo make me a sandwich«, $…
sleep 0.5
- annna-say "${user}" "»sudo please make me a sandwich�…
+ annna-say -c "${user}" "»sudo please make me a sandwi…
sleep 0.5
- annna-say "${user}" "»please tell me who is your favo…
+ annna-say -c "${user}" "»please tell me who is your f…
sleep 0.5
- annna-say "${user}" "»please roll a dice for me.«, $…
+ annna-say -c "${user}" "»please roll a dice for me.«…
sleep 0.5
- annna-say "${user}" "»please help« gives you this he…
+ annna-say -c "${user}" "»please help« gives you this…
continue;
fi
done
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.