Get Script Running State

19 May 2015

  • Release 8.12 - range is now an optional parameter and not required to locate the item.
getscriptrunning (Commands)
TypeCorrade progressive command
Commandgetscriptrunning
DescriptionThe getscriptrunning command can be used to query a script inside a primitive and return a running key with the value set to True if the script is running or False otherwise.
Permissionsinteract
Parametersgroup, password, item, entity
Last ChangesRelease 8.12 - range is now an optional parameter and not required to locate the item.

The getscriptrunning command can be used to query a script inside a primitive and return a running key with the value set to True if the script is running or False otherwise.

Command Required Parameters Required Corrade Permissions Example
getscriptrunning group, password, item, entity interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // check whether the "sit"
            // script in the "Chair"
            // is currently running
            "command", "getscriptrunning",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape("Chair"),
            "range", 5,
            "entity", wasURLEscape("sit"),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.
Parameter Description
item The name or UUID of the primitive to search the script for.
entity The name or UUID of the script inside the primitive.

secondlife/scripted_agents/corrade/api/progressive/commands/getscriptrunning.txt ยท Last modified: 2017/02/22 18:29 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.