Hello guys, I hardly have any scripting experience and therefore ask for your kind help. What I want to do is the following: 1) Ping a specific IP address 2) Check if the average ping to that address is > 23ms 3) If >23ms, reconnect. If not, do nothing. I hope you can help me with this. Thank you in advance! [EDIT] Problem already solved.