We need a way to detect that the last script that ran in ACP as a result of a RunScript() call succeeded or failed. A fail includes weather interrupt. Think this one over. The conditions are
- Script succeeded, ran to completion
- Script failed with runtime error or compilation error
- Script was killed by a weather interrupt
- Script was killed by operator abort
It would allow the logic in Scheduler to be much more robust if we could detect each of these cases.