Get Internet IP Address

Published on June 29, 2011 by Marcus Tettmar in Scripting

If you are connected to the Internet here’s an easy way of getting your public IP address by visiting checkip.dyndns.org:

HTTPRequest>http://checkip.dyndns.org/,,GET,,HTMLResponse
RegEx>[IPAddress],HTMLResponse,1,ips,num_ips,0
If>num_ips>0
  MessageModal>Your IP is %ips_1%
Else
  MessageModal>Error retrieving IP from checkip.dyndns.org
Endif