Stop a script

 

Hi,

I created my first scipt with a no end loop and now I cant stopped it.

How can I stop it ?

Thanks

 
Close the program with Ctrl Alt Del.
 
Variopinto:

Hi,

I created my first scipt with a no end loop and now I cant stopped it.

How can I stop it ?

Thanks

Remove it Right_Click>Script>Remove. Communicate with it through GlobalVariableSet(). Like have it Get the x=GlobalVariableGet(Gv_userStop). if( x==1 ) return;...... Or you can use if( x==1 ) 0/0; //zero divide (not very safe but gets the job done). You can also search for stuff like remove a script with code. Running another script might also unload the script.
 
ubzen:
Remove it Right_Click>Script>Remove. Communicate with it through GlobalVariableSet(). Like have it Get the x=GlobalVariableSet(userStop). if( x==1 ) return;...... Or you can use if( x==1 ) 0/0; //zero divide (not very safe but gets the job done). You can also search for stuff like remove a script with code. Running another script might also unload the script.

Thanks
 
Variopinto:

Hi,

I created my first scipt with a no end loop and now I cant stopped it.

How can I stop it ?

Thanks

If you have to "Remove script" twice for the script to be removed it's because you haven't used IsStopped() as part of your loop condition.
Reason: