Jethro commented on a Page, !whois script  -  Oct 25, 2011

I see what happens now. It's apparently missing a curly bracket, and the curly bracket between those two else conditions is needless:> if ($2) {
set %WhoisResult $chan
}
if ($left($2,1) == $chr(35)) {
whois $2
}
else { whois $2 }
else { msg $chan Syntax is !whois . }
}Still, though, the second if condition to check if $2 starts with # is redundant.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.