Hi,
I'm trying to make a script to check the status of my modem if it is connected LAN before accessing it..I tried this script but still I can't make it to work as if..
CheckRouter() ;check if router is connected
Func CheckRouter()
$router = Ping("192.168.10.1",750) ;ping modem
If $Router = 0 then ;if no response
Delay5Sec() ;call delay routine to wait more time for the modem to stabilized..
else ;if connected