jarichardusa Posted December 9, 2008 Report Share Posted December 9, 2008 Okay, this is what I'm trying to do and can't for the life of me figure out the proper way to accomplish it. I've read the how-to's and such but they don't seem to cover it. The script I'm trying to create is to ping a website, if the ping is successful, repeat after x amounts of minutes. If the ping is unsuccessful, then continue on with the script to do another task, and after that second task is completed start from the beginning again (with the pinging) and on and on forever... I guess my problem is where to put the repeats in relation to the events. How to get the script to start over if the ping is successful or continue on with the script if not. Basically, in a nutshell: ::Position A if ping successful... go to position A if ping unsuccessful do this task go to position A repeated indefinately. If this were BASIC I'd be all set... Thank you all for any help you might be able to provide. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.