;; With this snippet mIRC will save your right IP informations...
on 1:sockopen:getmyip:{ sockwrite -n $sockname GET http://www.edpsciences.com/htbin/ipaddress }
on 1:sockread:getmyip:{ sockread %getmyip.data | if ($left(%getmyip.data,18) == Your IP address is) { set -u5 %getmyip 1 | .dns $gettok(%getmyip.data,6,32) | sockclose $sockname } }
on 1:dns: { $iif(%getmyip,localinfo $naddress $iaddress) | $iif(%getmyip,unset %getmyip*) }
alias getmyip { sockopen getmyip www.edpsciences.com 80 }
on 1:connect:{ getmyip }