Jump to content
Sign in to follow this  

Online check

Recommended Posts

How do you check if someone has internet connection to the internet? if they have, then it should continiue, if not, a messeage saying "you are not online at the moment" should come, and then exit.

Could someone write this code for me?


Share this post

Link to post
Share on other sites

Well, this is a support forum... not a write code for me forum :lmao:

I'd really like for you to be capable of writing your own scripts, so I'll get you started on what you'll need:




If...then...else (I think)

Should get ya started. The while loop will make the script run constantly, and when you're not connected (by trying to download a file, and failing) pop up a message.

"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...