-~1ncognito~- 0 Posted December 17, 2002 How do you exit a script? say you have a loop script and you want it to end after it is finished doing whatever you wanted it to do. Would you just type Goto "end" and then have #end end Share this post Link to post Share on other sites
Fangie 0 Posted December 17, 2002 Use the Exit command. #Loop Dostuff if (value = true) : goto "end" goto "Loop" #end Exit Maybe you can say exit right away instead of goto "end", but i need to test that. Share this post Link to post Share on other sites
Doolittle 0 Posted December 17, 2002 _i = 0 #loop _i = _i + 1 ? _i == 3 : goto "blah" ? _i < 10 : goto "loop" hint "i = 10 now!" exit #blah hint "What are you doing here?? Â I heard i = 3!" goto "loop" hint "This code will never execute" EDIT: Eep! Didn't see other post by Fangie. Doolittle Share this post Link to post Share on other sites
-~1ncognito~- 0 Posted December 17, 2002 Thanks guys! Share this post Link to post Share on other sites