Hi,
Im new in Autoit, Im writing a program which checks if server is Online.
But IP of server which i need changes everytime when serwer go Offline. I got only www adres but ping function doesn't work with it (It return @error 4 even if serwer is online), so i need a function which will check what is the current IP of serwer.
:">
global $Paused
Do
$var = Ping("217.82.52.176",250);need to get this IP from "mell.dyn.pl"
If $var Then
Msgbox(0,"Status","Serwer Online - Time:" & $var,5)
Else
Msgbox(0,"Status","Error numer: " & @error, 1)
EndIf
HotKeySet("{UP}", "TogglePause")
HotKeySet("{Down}", "Out")
until 1=2
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('PAUSE',0,0)
WEnd
ToolTip("")
EndFunc
Func Out()
Exit 0
EndFunc
Got any ideas how to do that?
I would be grateful for any help
Sorry for my bad english