Sign in to follow this  
Followers 0
killerofsix

Easy loop question

3 posts in this topic

Simple question

I want to the ping , for example, google every 30 seconds. How do i do this?

An example script would be nice.

Thanks to whoever helps. :D


"The quieter you are, the more you are able to hear..."

My AppsUSB Finder

Share this post


Link to post
Share on other sites



while 1

$ping = ping("www.google.com")

if $ping = 0 then msgbox(o,"","offline")

sleep(30000)

wend


" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Share this post


Link to post
Share on other sites

while 1

$ping = ping("www.google.com")

if $ping = 0 then msgbox(o,"","offline")

sleep(30000)

wend

lol now i feel stupid thanks :D


"The quieter you are, the more you are able to hear..."

My AppsUSB Finder

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