#!/bin/sh # irssi doesn't (didn't?) have an easy way of setting up a load of split # windows, so I had a load of scripts like this and pasted the output to set up # the session appropriately. i=0; for x in channel1 channel2 'channel3 password' ; do i=$(($i + 1)) ; echo /window $i ; echo /window new ; echo /window $i ; echo /window size 8 ; echo /join \#$x ; done echo /window $(($i + 1))