code for my bot =)

Code:
 
on *:text:!request*:?:{
  if ($2 == $null) { /query $nick You need to specify channel. | halt }
  elseif (# isin $2) { /query $nick Your request has been relayed to my owners. | halt }
  else { /query $nick $2 unknown channel. | halt }
}
 


thing is that it wont work when user types !request #channel
altho i specified "if (# isin $2)"

any ideas?

6.16


IceCapped