Assuming that the address is in the Internal Address List (IAL) you can use $ial and $ialchan with the .nick property to return nicknames based on addresses.