hey Jethro :)
it's been a long time how r u my friend?
Wims ça va toi? :)
about the condition above it's like Wims told u
eg
if ($left(#chan,1) == $chr(35)) {
whois $2
}
else { whois $2 }
and
if ($left(NickName,1) == $chr(35)) {
whois $2
}
else { whois $2 }
both return "whois $2" so the condition is useless without mentioning other details that we can whois channel or not