diff options
author | julien | 2009-07-07 09:56:53 +0200 |
---|---|---|
committer | julien | 2009-07-07 09:56:53 +0200 |
commit | d44fb2f6bae26ae857279ebcc3a914b990b95480 (patch) | |
tree | f6b7d332f393a709d50ff381df8b16f6ed07a019 /shbirth.sh | |
parent | Initial import (diff) | |
download | shbot-d44fb2f6bae26ae857279ebcc3a914b990b95480.tar.gz shbot-d44fb2f6bae26ae857279ebcc3a914b990b95480.tar.bz2 shbot-d44fb2f6bae26ae857279ebcc3a914b990b95480.zip |
Made a working trains script.
Diffstat (limited to 'shbirth.sh')
-rwxr-xr-x | shbirth.sh | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,13 +4,14 @@ SERVER=${1:-kro.corp} #SERVER=${1:-localhost} PORT=6667 export NICK=shbot -export CHANNELS=${2:-#codemore} -export CHANNEL2=${2:-#shbot} +export CHANNELS=('#codemore #shbot') function shbirth () { echo "NICK $NICK" echo "USER $(whoami) +iw $NICK :$0" - #echo "JOIN $CHANNEL" - echo "JOIN $CHANNEL2" + for CHANNEL in $CHANNELS + do + echo "JOIN $CHANNEL" + done } |