/localinfo -h will normally return your internal IP

//!localinfo -u will return your external IP
or you can add something to popups to return it when you right click

$ip: { return }
this way you'll know if it caught the right ip

hope this helps