3 September 2020
<data Commands>
Type: Corrade progressive command
Command[wiki]: getprimitivescripttext
Description[wiki]: The getprimitivescripttext command is used to retrieve the text of a script inside a primitive's (task) inventory.
Permissions[wiki]: inventory, interact
Parameters[wiki]: group, password, item, target
Last Changes[wiki]: Release 9.164 - added.
</data>
The getprimitivescripttext command is used to retrieve the text of a script inside a primitive's (task) inventory.
| Command | Required Parameters | Required Corrade Permissions | Example |
|---|---|---|---|
getprimitivescripttext | group, password, item, target | inventory, interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ // Retrieve the text of a script from an in-world primitive. "command", "getprimitivescripttext", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // The name or UUID of the script. "target", "New Script", "range", "5", // The in-world primitive name or UUID. "item", "myscriptedobject", "callback", wasURLEscape(URL) ] ) ); |
| Optional Parameter | Possible Value | Description |
|---|---|---|
range | an integer value | The range in meters to look for the primitive to retrieve a script's text from. |
selection | attached, rezzed or all (default: all) | Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively. |
data parameter.llBase64ToString.For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.