Support woop woop. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit ae2032f1795a3c25dbf1c5f64390f54dc4d2e2ae
(DIR) parent ae9e906f5b195540b000ee3b77e8f815b3a5097b
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 25 Aug 2024 16:23:25 +0200
Support woop woop.
Diffstat:
M annna-message-common | 12 ++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -291,6 +291,18 @@ case "${text}" in
done
annna-say -s "${server}" -c "${channel}" "${user}${finalexclamation}"
;;
+"${ircuser}, woop")
+ # Using the same database for funny hacks.
+ exclamation="$(printf "%s\n" "${text}" | sed "s;${ircuser}, \(.\);\1;g")"
+ exclamationsintime=$(exclamatio "${user}")
+ finalexclamation="${exclamation}"
+ while [ $exclamationsintime -gt 1 ];
+ do
+ finalexclamation="${finalexclamation} ${exclamation}"
+ exclamationsintime=$(($exclamationsintime - 1))
+ done
+ annna-say -s "${server}" -c "${channel}" "${user}, ${finalexclamation}"
+ ;;
*">:3"*)
annna-say -s "${server}" -c "${channel}" "OMG IT'S A LION GET IN THE CAR!"
;;