So if it doesn't connect to the server, it prints out a million lines of error. That's not what I'm looking for. I want something simple. There's got to be an easier way to do this.
Server is Offline
Server if Online
That's all I want in the end.
EDIT: Maybe I'm asking for the wrong thing. I don't want to ping anything. I just want to see if the darn thing is connected to the internet. That's all I want.
|