ll.RemoteLoadScriptPin

ll.RemoteLoadScriptPin(ObjectID: uuid, ScriptName: string, PIN: number, Running: number, StartParameter: number) : ()

If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object.

Example

ll.RemoteLoadScriptPin(
  uuid('677bf9a4-bba5-4cf9-a4ad-4802a0f7ef46'),
  'test',
  3,
  15,
  8
)
{
  "def": "func",
  "desc": "If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object.",
  "energy": 10,
  "sleep": 3,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlRemoteLoadScriptPin",
  "name": "RemoteLoadScriptPin",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ObjectID",
          "desc": "Target prim to attempt copying into.",
          "type": [
            "uuid",
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "ScriptName",
          "desc": "Name of the script in current inventory to copy.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "PIN",
          "desc": "Integer set on target prim as a Personal Information Number code.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Running",
          "desc": "If the script should be set running in the target prim.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "StartParameter",
          "desc": "Integer. Parameter passed to the script if set to be running.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll