start if not running (game server) ".vbs script help"

Status
Not open for further replies.

joenzo333

Refugee
Somebody can tell me what i doing wrong with this .vbs script please?

i need a script loop to revive my server when he's auto shutdown. thx in advance

I'm on windows 10

Captffffure.JPG

 
Last edited by a moderator:
Not too familiar with vbsscript, but one issue that sticks out to me is I think it's Wend, not WEnd

Don't you need to head and end with <script type = " stuff "> | </script> ?

And the End If, that may need to be looked at. Pretty sure sleep(##) is saying "pause for ##", the loop may not be running due to no actual End if clause, if it's meant to be an infinite loop checking for the server being active, no real need for an End if statement, just the while True statement. But, vbsscript isn't one I've learned yet, could be wrong lol.

 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top