README update.

This commit is contained in:
Johannes Findeisen 2026-11-27 22:27:41 +01:00
commit a99b09ac22

View file

@ -38,18 +38,33 @@ lines marked `ssl`/`tls` cannot connect.
One file, six active keywords: One file, six active keywords:
``` ```
nick mynick nick irc9user
user myuser # optional, defaults to nick user irc9user
real My Real Name # optional real Happy irc9 User
strip_formatting on # optional, default on; off shows IRC formatting # strip_formatting off # default on; off renders IRC bold/color/etc.
# Libera and OFTC use TLS on 6697. Use port 6667 without the ssl keyword for
# plain TCP. The optional sasl line applies to the server above it; the SASL
# user is your account name. An optional autocommand sends one raw IRC command
# after registration on the server above it, before startup channel joins.
# libera
server irc.libera.chat 6697 ssl server irc.libera.chat 6697 ssl
sasl mynick my-sasl-password name Libera Chat
# sasl irc9user my-sasl-password
# autocommand /msg NickServ IDENTIFY irc9user $PASSWORD
# Build with make -B AUTOJOIN=1 and uncomment channel lines to join at startup.
# Each channel line applies to the server above it.
channel #irc9
# channel #murx
# channel #zynk
server irc.oftc.net 6697 ssl # oftc
# sasl mynick my-sasl-password # server irc.oftc.net 6697 ssl
# name OFTC
server irc.example.org 6667 # sasl irc9user my-sasl-password
# autocommand PRIVMSG NickServ :STATUS irc9user
# channel #linux
``` ```
`nick`, `user`, and `real` are global. A `server` line starts a new server: `nick`, `user`, and `real` are global. A `server` line starts a new server: