Um, that doesn't seem to work.
Maybe if I explain what I want to achieve...
I have a search script at the moment, that firstly logs people when they say certain things in a channel. Then people can !search via anything they want, and it'll come up with matches for each person that said that word.
Making sense so far? I hope so...
Now, when someone does the !search fool (for example), it'll /msg the person who searched with all the nicks that said that word. What I want to do is find a way of doing it so that before it /msg's the person who searched, it checks to see if that person is online, and if they are, it shows their nick in pm, in a different colour.
That's why I thought maybe a /whois would be best, but obviously not.
Any ideas would be gretly appreciated.