Introduction
Introduction Statistics Contact Development Disclaimer Help
Add unzombie and unghost commands. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 505d91d6c88c39b143440e2896308fa10e97a382
parent 8e5e25f82d7ff9ea5a1ccb2a3d1e0bd30af5a5bd
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 3 Nov 2024 08:21:09 +0100
Add unzombie and unghost commands.
Diffstat:
M annna-message-common | 10 ++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -629,6 +629,11 @@ case "${text}" in
suri="$(printf "%s\n" "${word}" | zombie -e | bitreich-speak)"
annna-say -s "${server}" -c "${channel}" "${suri}"
;;
+"${ircuser}, please unzombie "*)
+ word="$(printf "%s\n" "${text}" | cut -c 24- | sed 's,\t, ,g')"
+ suri="$(printf "%s\n" "${word}" | zombie -d)"
+ annna-say -s "${server}" -c "${channel}" "${suri}"
+ ;;
"${ircuser}, please zombie "*)
word="$(printf "%s\n" "${text}" | cut -c 22- | sed 's,\t, ,g')"
suri="$(printf "%s\n" "${word}" | zombie -e)"
@@ -639,6 +644,11 @@ case "${text}" in
suri="$(printf "%s\n" "${word}" | ghost -e | bitreich-speak)"
annna-say -s "${server}" -c "${channel}" "${suri}"
;;
+"${ircuser}, please unghost "*)
+ word="$(printf "%s\n" "${text}" | cut -c 23- | sed 's,\t, ,g')"
+ suri="$(printf "%s\n" "${word}" | ghost -d)"
+ annna-say -s "${server}" -c "${channel}" "${suri}"
+ ;;
"${ircuser}, please ghost "*)
word="$(printf "%s\n" "${text}" | cut -c 21- | sed 's,\t, ,g')"
suri="$(printf "%s\n" "${word}" | ghost -e)"
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.