Now I changed it to:

Code:
on *:text:@wmfind *:%sLchannel: {
  var %a = 1, %b
  while $var(%*,%a) {
    if ($1 isin $gettok(%sl*,1,32)) {
      %b = $addtok(%b, $var(%*,%a), 32)
    }
    inc %a
  }
  notice $nick ** Results for $1 $+ : $iif(%b, $v1, None)
} 


But it gives me the output "None" on all search strings.