prolly wanna add a && $nick != ChanServ in there as well unless the network you are on does things differently than most networks.