Stops an LSL script and removes it from the SCI stack.
If the LSL script is a program or service, also stops and removes any libraries associated with the script.
If the LSL script is the currently running program, the SCI will resume the previous program on the stack.
Response: After the SCI has processed the system call, it will respond with BIOS_SCI_TERMINATED.
llMessageLinked(LINK_ROOT, [ident]
, "BIOS_SCI_TERMINATE", [script_name]
+ "|" + [parent_script_name]
+ "|" + [exit_data]
);
• target | LINK_ROOT |
• integer | [ident] |
• key | [script_name] |[parent_script_name] |[exit_data] |
Parameter | Description |
---|---|
[ident] |
Integer. Any integer. Will be returned with BIOS_SCI_TERMINATED. Can be used to identify specific calls to the SCI, or can be left as 0 if not needed. |
[script_name] |
String. Must be the name of the LSL script in inventory to stop. To stop yourself (and release the system to the previous program, if a program), use llGetScriptName. |
[parent_script_name] |
String. If [script_name] is a library, must be the [script_name] of the program or service that the library is associated with.To unload a library that is associated with yourself, use llGetScriptName. For more information about libraries, refer to the SCI documentation. If [script_name] is not a library, this parameter is ignored. |
[exit_data] |
String. Must be a string up to 64 characters that will be passed as the parent exit data in BIOS_SCI_STARTED for the parent program. If the LSL script is a service or library, this field is ignored. Only programs can pass exit data to the programs that called them. |