Introduction
Introduction Statistics Contact Development Disclaimer Help
Add give towel function to sauna. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit fb4c36f23d1a9d6358b97f6d343b99f400a75786
parent 68cb0db8c87939918fada620331c5b7d9ed2458d
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 18 Oct 2025 16:08:10 +0200
Add give towel function to sauna.
Diffstat:
M annna-message-sauna | 6 ++++++
1 file changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-sauna b/annna-message-sauna
@@ -5,6 +5,12 @@
case "${IRC_CMD}" in
JOIN) annna-say "Welcome ${IRC_CMD_USER}! Please grab a towel and have fun!";;
PART) annna-say $'\001ACTION puts the towel in the laundry.\001';;
+PRIVMSG)
+ case "${IRC_PRIVMSG_TEXT}" in
+ "${IRC_USER}, please give me a towel"*)
+ annna-say "$(echo -e '\001')ACTION gives ${IRC_CMD_USER} a tow…
+ ;;
+ esac;;
esac
annna-message-common
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.