Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix minimum waiting times for annnama. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 8da1450db9066cc91aace6f8bf2d8ae9950d51f5
parent 2bb726baade9dd9fe6a98c7e507e9ebe8df86478
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 27 Oct 2024 09:33:48 +0100
Fix minimum waiting times for annnama.
Diffstat:
M annna-message-common | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -1154,12 +1154,12 @@ case "${text}" in
"${ircuser}, trick or treat!")
annna-say -s "${server}" -c "${channel}" "Wait for it. Old annnama is …
{
- sleeptime="$(( $RANDOM % 120 ))"
+ sleeptime="$(( $RANDOM % 120 + 10 ))"
if [ $sleeptime -gt 60 ];
then
- sleep "$(( $RANDOM % 30 + 20 ))
+ sleep "$(( $RANDOM % 30 + 20 ))"
annna-say -s "${server}" -c "${channel}" "${user}, *sw…
- sleeptime="$(( $RANDOM % 60))"
+ sleeptime="$(( $RANDOM % 60 + 10 ))"
fi
sleep $sleeptime
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.