diff options
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 } |