integer llGetScriptState(string name)
if the script
identified by name
is running. This allows one script to check on another.
As of SL 1.18.4 this correctly returns FALSE
if a script has encountered a run-time error
(like a stack-heap collision
or a bounds-check error
for more fun things that can be done with this.
Also see llSetScriptState
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.