Ignore Joins and parts on irssi

/ignore #channelname[,#channel2] JOINS PARTS

ignores JOIN- and PART messages.