31 July 2019
selection
optional parameter.8 April 2017
scriptreset (Commands) | |
---|---|
Type | Corrade progressive command |
Command | scriptreset |
Description | The scriptreset command can be used to reset a specific or all scripts inside a primitive. |
Permissions | inventory |
Parameters | group , password , item |
Last Changes | Release 9.161 - added. |
The scriptreset
command can be used to reset a specific or all scripts inside a primitive.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
scriptreset | group , password , item | interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ // resets the script called // "sit" in a "Chair" object "command", "scriptreset", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "item", wasURLEscape("Chair"), "range", 5, "entity", wasURLEscape("sit"), "callback", wasURLEscape(URL) ] ) ); |
Parameter | Possible Value | Second Parameter | Possible Value | Third Parameter | Possible Value | Description |
---|---|---|---|---|---|---|
all | False (default) | item | The name or UUID of a primitive. | entity | The name or UUID of a script inside a primitive. | Reset a single script indicated by entity inside a primitive indicated by item |
True | Resets all the scripts in the primitive indicated by item . |
Optional Parameter | Possible Value | Description |
---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |