Current ip adress? Thread last updated on 2007-03-08 19:55:39

Posted by member 173795 on 2007-03-08 01:14:18

Im trying to get the ip adress i have on the nternet by doing this.
menu_intOnHover !LabelSetText sysinfo "[ip]"
but it only get me 192.168.1.136 witch is the "internal ip adress" i have assinged to my self in my network, but when i for example go to whatsmyip.org then i get something completly different, evry time i restart my modem then i get a new ip adress. How can i make the currect ip adress show?

Posted by member 5575 on 2007-03-08 12:04:23 link

Use wazup.dll to scrape your external IP address from whatsmyip.org. There's a thread somewhere on this site about how to do this, IIRC.

Posted by member 1949 on 2007-03-08 15:55:37 link

It was in the code section...
*NetLoadModule xlabel-3.4.1 load xlabel-3.4.1.dll
*NetLoadModule wazup-1.35

*Wazup ExternalIP
ExternalIPURL http://www.whatismyip.com/
ExternalIPLocalFile "$ConfigDir$Ip.html"
ExternalIPUpdateInterval 100

ExternalIPInputString "displaycopy('{%}')" "

ExternalIPOutputString "My Current IP is {%1}"
ExternalIPEnabled true
ExternalIPOnChecked !Execute [!WazupSetUpdateInterval ExternalIP 900]
ExternalIPOnFailure !alert "It appears there is an error retriving your IP... Try and Recycle or Update Wazup Module!"
ExternalIPOnUpdated !alert "Your IP is Updated!"
ExternalIPDisplayOn ExternalIP_BG
ExternalIPsilent true

*Label ExternalIP_BG
ExternalIP_BGX "31"
ExternalIP_BGY "8"
ExternalIP_BGWidth "200"
ExternalIP_BGHeight "20"
ExternalIP_BGOnLeftClick !none
ExternalIP_BGFontColor "B2B2B2"
ExternalIP_BGBorderMethod "Sunken"

ExternalIP_BGSolidColors "000000"

Posted by member 5575 on 2007-03-08 19:55:39 link

Yeah, what he said. =)