Starts an LSL script and adds it to the SCI stack.
Response: After the SCI has processed the system call, it will respond with BIOS_SCI_EXECUTED.
Only storage drivers should use this system call. Most software should use SCOPE_DISK_OP or BIOS_DISK_OP using the "XX" (Execute) command, which allow you to refer to scripts indirectly using their associated stub file on disk.
llMessageLinked(LINK_ROOT, [ident]
, "BIOS_SCI_EXECUTE", [type]
+ "|" + [script_name]
+ "|" + [parent_script_name]
+ "|" + [launch_parameters]
);
• target | LINK_ROOT |
• integer | [ident] |
• key | [type] |[script_name] |[parent_script_name] |[launch_parameters] |
Parameter | Description |
---|---|
[ident] |
Integer. Any integer. Will be returned with BIOS_SCI_EXECUTED. Can be used to identify specific calls to the SCI, or can be left as 0 if not needed. |
[type] |
String. Must be "exe" (program), "svc" (service), or "lib" (library). The script type used here will affect how the script will run in the background, among other differences. For more information, refer to the SCI documentation. |
[script_name] |
String. Must be the name of the LSL script in inventory to start. |
[parent_script_name] |
String. If [type] is "lib" (library), may be the [script_name] of a running service.If this parameter is a running service, the library will be associated with that service and will continue running as long as that service is running. If this parameter is not a running service (or is left blank), the library will be associated with the current active program and will be automatically stopped once the program exits, unless it has also been executed under a running service or a different program in the stack. For more information, refer to the SCI documentation. |
[launch_parameters] |
String. If [type] is "exe" (program), may be a string up to 256 characters. Will be sent with BIOS_SCI_START.Generally, this field is used to pass a file path and/or flags to a newly launched program. For example, the SCOPE console passes all text after the program file name into this field. However, there is no standard format for this field; programs may interpret it as they see fit. |