irc-start (287B)
1 #!/usr/bin/env sh 2 3 set -euo pipefail 4 5 DIR=~/data/irc 6 USER=kon4ru 7 PASS=$(pass /irc/password) 8 9 cd $DIR 10 ii -s irc.libera.chat -p 6665 -i $DIR -n kon4ru -k PASS & 11 12 sleep 5 13 14 echo "/j nickserv IDENTIFY $USER $PASS" >> irc.libera.chat/in 15 echo "/j #openbsd" >> irc.libera.chat/in 16 echo "started"