Add some more commented server commands for further use. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit f82088a7a13a7911b9c998719e6b671e90fcf4c6
(DIR) parent e65eaa7846c4e404e27ad357c11289b8eb47829f
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Mon, 29 Jun 2026 14:08:54 +0200
Add some more commented server commands for further use.
Diffstat:
M annna-start-server | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/annna-start-server b/annna-start-server
@@ -30,7 +30,28 @@ do
case "${IRC_CMD}" in
"433") exit 1;; # Nickname in use.
"001") annna-join-channels;; # Welcome.
- "NICK"|"353"|"332"|"PING");;
+ "002");; # Host
+ "003");; # Server started
+ "004");; # server software
+ "005");; # network key=value
+ "251");; # users, services, servers
+ "252");; # operators
+ "254");; # channels
+ "255");; # users, services, servers
+ "265");; # local users
+ "266");; # global users
+ "250");; # connection count
+ "375");; # motd begin
+ "372");; # motd + connection info
+ "376");; # motd end
+ "396");; # displayed hostname
+ "PING");;
+ "332");; # channel title
+ "333");; # channel ctime
+ "353");; # /names
+ "366");; # end of /names
+ "NICK");; # /nick
+ "PONG");; # /ping
"PART")
export IRC_CHANNEL="$(printf "%s\n" "${servermsg}" \
| cut -d' ' -f 4)"