var %chans = +#somechan ^#anotherchan #channel *#channel4
if ($wildtok(%chans,* $+ <#channel>,1,32)) { works }