#!/bin/sh

SERVER=irc.uugrn.org
PORT=8665

NETWORK=$1
HOSTNAME=$(hostname -s)

PASS=$(pass UUGRN/irc.uugrn.org  | head -1)

cat <<EOF
# catgirl
log
ignore = * [JPQ][OAU][IR][NT]

# server
host = $SERVER
port = $PORT

# user
nick = sdk
real = sdk
user = sdk
pass = sdk@$HOSTNAME/$NETWORK:$PASS

# utilities
copy = xcopy
open = nnn.sh
notify = xnotify

# time
# timestamp = %Y-%m-%d %H:%M:%S

# debug
EOF
