Jump to content
Sign in to follow this  
Monty

Restart script ??

Recommended Posts

Monty

Is there a command that will close itself and then reopen? I know there is a selfdelete function but could not find anything that will restart a script.

Share this post


Link to post
Share on other sites
Dinosaurr

Why not use a loop to repeat the code?

Share this post


Link to post
Share on other sites
Monty

Why not use a loop to repeat the code?

Ok, but how. Can you show me an example plz?

Share this post


Link to post
Share on other sites
Genos

Ok, but how. Can you show me an example plz?

While 1 ;Do this an infinite number of times
     ##Put all your code here##
Wend

This will do whatever you put in the while loop an infinite number of times. You should put some sort of an exit strategy in there too though.

Share this post


Link to post
Share on other sites
Monty

>_< no this will not help me. it is a little more complex then that i'm afraid. thank you anyway, i resolved this issue.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.