summaryrefslogtreecommitdiff
path: root/shbirth.sh
blob: 894a5c7856b74db5b7c12faf8286b5abcab6b484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/bash

SERVER=${1:-kro.corp}
#SERVER=${1:-localhost}
PORT=6667
export NICK=shbot
export CHANNELS=('#shbot')

function shbirth ()
{
	echo "NICK $NICK"
	echo "USER $(whoami) +iw $NICK :$0"
	for CHANNEL in $CHANNELS
	do
		echo "JOIN $CHANNEL"
	done
}