there is no way to parse the server raw output ?

the raw event have many obscure code as 322 :

raw 322:*mirc*:/echo 5 $1-

322 is the code for the /list output.

Possible don't exist a code per whois output ?

With python and other script languages , it's possible
parsing the server output and matching what do you want