alias with multiple line must use { }, and you must seperate command with a | (space seperated) or with a new line
/cow { join #cow | join #cow2 }
or
/cow {
join #cow
join #cow2
etc
}
Note that you can join several channel with only one /join command, it's recommended since it only sends one command to the server (type /help /join in mIRC).