1. is it possible to perform an action like /whois based on masked ip instead of nick name? is there a command / script that can achieve this even if the particular masked ip is on the irc network but has not joined any channel?

also, is it possible to track all the nick changes of a particular masked ip?