zakplayyy Posted July 14, 2013 Share Posted July 14, 2013 Is it possible to have the option to end a script at multiple places? For example, I am writing a script and if a particular bitmap is not found I would like the script to end, since if It continues it will be clicking in random places. I know I could do this with booleans, but it would be much each easier and quicker if I could simply type 'End.' or something where I want the script to end. Thanks in advance Quote Link to comment Share on other sites More sharing options...
FHannes Posted July 14, 2013 Share Posted July 14, 2013 Why not simply terminate the script? Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted July 14, 2013 Share Posted July 14, 2013 type "TerminateScript;" this will stop/end the script. Quote Link to comment Share on other sites More sharing options...
Janilabo Posted July 14, 2013 Share Posted July 14, 2013 type "TerminateScript;" this will stop/end the script. ..and here is the wiki page of that procedure shadowrecon is talking about: TerminateScript - SCAR Divi Manual Contains some basic information + example. Quote Link to comment Share on other sites More sharing options...
zakplayyy Posted July 14, 2013 Author Share Posted July 14, 2013 Thank you Quote Link to comment Share on other sites More sharing options...