diff options
author | julien | 2009-07-06 17:26:39 +0200 |
---|---|---|
committer | julien | 2009-07-06 17:26:39 +0200 |
commit | 962e19a2bcd0697aa80e5da8b0bf499557219a59 (patch) | |
tree | 2e188f8a6e3c57cffcb88e048b9d8f2e5d2935ac /shbirth.sh | |
download | shbot-962e19a2bcd0697aa80e5da8b0bf499557219a59.tar.gz shbot-962e19a2bcd0697aa80e5da8b0bf499557219a59.tar.bz2 shbot-962e19a2bcd0697aa80e5da8b0bf499557219a59.zip |
Initial import
Diffstat (limited to '')
-rwxr-xr-x | shbirth.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shbirth.sh b/shbirth.sh new file mode 100755 index 0000000..2d31a9c --- /dev/null +++ b/shbirth.sh @@ -0,0 +1,16 @@ +#! /bin/bash + +SERVER=${1:-kro.corp} +#SERVER=${1:-localhost} +PORT=6667 +export NICK=shbot +export CHANNELS=${2:-#codemore} +export CHANNEL2=${2:-#shbot} + +function shbirth () +{ + echo "NICK $NICK" + echo "USER $(whoami) +iw $NICK :$0" + #echo "JOIN $CHANNEL" + echo "JOIN $CHANNEL2" +} |