is there any way i could make it so if someone says
!whois <nick>
and the bot will return what you would get
this is what i got so far..
on *:text:*:#: {
if ($$1 == !whois) {
whois $$2
msg $chan
}
:error msg $chan ERROR: $error
}

it dosent return anything at all
could anyone help me?