$regchan.match(<channel_name>,<network>)
echo $regchan.match(#kvirc,IRCNet) echo $regchan.match(#kvirc,$my.network)