LlGetScriptState
From Second Life Wiki
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Description
Function: integer llGetScriptState( string name );| 250 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Returns an integer boolean that is TRUE if the script name is running.
| • string | name | – | a script in the prim's inventory |
Caveats
- If name is missing from the prim's inventory or it is not a script then an error is shouted on DEBUG_CHANNEL.
Deep Notes
History
- There was a time when llGetScriptState would return TRUE even if the script had encountered a run-time error.

