URI: 
       Add barebone for new idlerpg handler. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 8424f3836e46956604bfeb495a659942fa8a74e1
   DIR parent 5345c5ad67854a739ed3abc569499e75bc977f54
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Sat, 29 Oct 2022 17:40:58 +0200
       
       Add barebone for new idlerpg handler.
       
       Diffstat:
         M annna-channel-service               |       3 +++
         A annna-message-idle                  |      25 +++++++++++++++++++++++++
       
       2 files changed, 28 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/annna-channel-service b/annna-channel-service
       @@ -25,6 +25,9 @@ do
                \#gopherproject)
                        annna-message-gopherproject "${server}" "${channel}" "${user}" "${text}"
                        ;;
       +        \#bitreich-idle)
       +                annna-message-idle "${server}" "${channel}" "${user}" "${text}"
       +                ;;
                *)
                        annna-message-common "${server}" "${channel}" "${user}" "${text}"
                        ;;
   DIR diff --git a/annna-message-idle b/annna-message-idle
       @@ -0,0 +1,25 @@
       +#!/bin/sh -e
       +
       +export PATH="$HOME/bin:$PATH"
       +
       +cfgbase="$(pwd)"
       +ircbase="$(cat ${cfgbase}/ircbase)"
       +modbase="$(cat ${cfgbase}/modbase)"
       +idlebase="${modbase}/idlerpg"
       +
       +server="$1"
       +ircuser="$(cat ${cfgbase}/${server}/ircuser)"
       +channel="$2"
       +user="$3"
       +text="$4"
       +
       +[ "$user" = "${ircuser}" ] && exit
       +
       +case "${text}" in
       +*)
       +        annna-say -c "${channel}" -s "${server}" "${user}, you will be penalized!"
       +        ;;
       +esac
       +
       +#annna-message-common "${server}" "${channel}" "${user}" "${text}"
       +