what exactly was echoed to you when you used
Code:
on *:SNOTICE:*is doing a whois on you*: //echo [ $+ $$1 - has performed a whois on you ]  
?

I'm sorry I'm not of better help. I haven't used miRC in quite some time. I was an avid miRC scripter before, but now I don't have access to miRC on the computers I'm able to use.
.. After looking on google. I found
Code:
 on *:snotice:*did a /whois on you*: { echo -a  [ $+  $2 Just done a whois on you]