Some (not all) servers support a command called /userip which will return the IP of the nickname. However, what he is saying doesn't even make sense really. And if he did do it that way then he's stupid considering there are freely available webpages that allow you to look up an IP and see not only what country it is in, the ISP that owns it, their address, phone number, etc.