IF ELSEIF ELSE - 14/03/06 12:21 AM
code for my bot =)
thing is that it wont work when user types !request #channel
altho i specified "if (# isin $2)"
any ideas?
6.16
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