summaryrefslogtreecommitdiff
path: root/shbirth.sh
blob: b58c227d9b5185385350310ba9af6d5fb414db70 (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=('#codemore #shbot')

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