Support woop woop. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit ae2032f1795a3c25dbf1c5f64390f54dc4d2e2ae | |
parent ae9e906f5b195540b000ee3b77e8f815b3a5097b | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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 C… | |
;; |