$address(Someone,0) only works if mIRC knows the address of "Someone". mIRC will recieve and store the address when "Someone" joins a channel you are in, "Someone" messages a channel you are in, when you /whois "Someone", etc. If none of these have happened then it will naturally return $null.