if you are running a script with a loop can you exit the script from a nother script?
Yes, with a global variable.
Looping script:
outofhere = false
#Loop
~5
? !outofhere : goto "Loop"
Other script (...or trigger or whatever):
outofhere = true
This applies to single player missions. In multiplayer mission editing you
might have to do something else too, but let's not confuse you with that at this time.