Introduction
Introduction Statistics Contact Development Disclaimer Help
Broaden the the exclamation support in annna. - annna - Annna the nice friendly…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit b52d60cdecb35f5bd6834f0c5de11c556bbdbe2b
parent c607a934af16fa4dd916e632649f8e1d94604505
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 7 Jan 2023 21:37:13 +0100
Broaden the the exclamation support in annna.
Diffstat:
M annna-message-common | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -219,8 +219,9 @@ case "${text}" in
esac
case "${text}" in
-"${ircuser}.")
- annna-say -s "${server}" -c "${channel}" "${user}."
+"${ircuser}"?)
+ exclamation="$(printf "${text}\n" | sed "s,${ircuser}\(.\),\1,g")"
+ annna-say -s "${server}" -c "${channel}" "${user}${exclamation}"
;;
*"<3"*)
annna-say -s "${server}" -c "${channel}" "*o.o*"
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.