Introduction
Introduction Statistics Contact Development Disclaimer Help
Add alias_call method for simple annna aliases. - annna - Annna the nice friend…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 621ab7c9c50ccad24ed8879d6f3435d6362cb0a7
parent 5e8e58582a0c0e2476728f13be0fdf76c788fabf
Author: Annna Robert-Houdin <[email protected]>
Date: Fri, 21 Nov 2025 16:14:34 +0100
Add alias_call method for simple annna aliases.
Diffstat:
M annna-message-common | 6 ++++++
1 file changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -54,6 +54,11 @@ hashtagcount() {
| sed 's,.*total on .*: \([0-9]*\)),\1,')"
}
+alias_call() {
+ export IRC_PRIVMSG_TEXT="$@"
+ exec $0 "$@"
+}
+
isignored=0
for ignorednick in $ignorednicks;
do
@@ -375,6 +380,7 @@ case "${IRC_PRIVMSG_TEXT}" in
"${IRC_USER}, how lame is my nick?") annna-say "$(lameness "${IRC_CMD_USER}")"…
"${IRC_USER}, ding"*) annna-say "${IRC_CMD_USER}, dong.";;
"${IRC_USER}, irly"*) annna-say "${IRC_CMD_USER}, I love you too.";;
+"${IRC_USER}, how fat is the sun?") alias_call "${IRC_USER}, wolfram is sun ma…
"${IRC_USER}, how is the sun?")
sunuri="$({
printf "https://soho.nascom.nasa.gov/data/realtime/eit_284/512…
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.