How do I wait until a button is pressed in a function of another file to return to the main file?I'm having an issue in my code where I press a button and it goes into another function in another file (using Include("filename.jsl"); Once the button is pressed the function from the other file runs and returns back to the main function in the main file and continues running. This is not what I want.
How can I make it so the code stops in the second function (the one in another file) and wait for the Ok button to be pressed before returning back to the original function in the main file?
Scripting