Sign in to follow this  
Followers 0
philo

Ping Checker

3 posts in this topic

$ip = InputBox("Ping Check", "Enter IP.", "", "")
$Ping = Ping("$ip",250)

If $ping Then; also possible:  If @error = 0 Then ...
    Msgbox(0,"Status","Online, roundtrip was:" & $ping)
Else
    Msgbox(0,"Status","An error occured with number: " & @error)
EndIf

I got this script to check ping.

But it doesn't work.

Need help Please


Auto It Ruels

Share this post


Link to post
Share on other sites



$ip = InputBox("Ping Check", "Enter IP.", "", "")
$Ping = Ping("$ip",250)

If $ping Then; also possible:  If @error = 0 Then ...
    Msgbox(0,"Status","Online, roundtrip was:" & $ping)
Else
    Msgbox(0,"Status","An error occured with number: " & @error)
EndIf

I got this script to check ping.

But it doesn't work.

Need help Please

<{POST_SNAPBACK}>

Should not have quotes around a variable, unless you have the options set to look for variable names inside strings, but that's just wasting time anyway.

Try this:

$Ping = Ping($ip, 250)

Share this post


Link to post
Share on other sites

Should not have quotes around a variable, unless you have the options set to look for variable names inside strings, but that's just wasting time anyway.

Try this:

$Ping = Ping($ip, 250)

<{POST_SNAPBACK}>

Thanks Man

Auto It Ruels

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0