Skip to content
lsl.devlsl.devLSL Dev

llSetRemoteScriptAccessPin

function
Function syntax
llSetRemoteScriptAccessPin(
  1. integer pin// Integer PIN code (non-zero enables, zero disables).
);
Delay
0.2 s
Energy
10

Sets the prim's remote script access PIN to pin (a non-zero value enables loading via llRemoteLoadScriptPin, while zero disables it).

Allows a prim to have scripts remotely loaded via llRemoteLoadScriptPin when it is passed the correct pin and the prim is set mod.

How to use
llSetRemoteScriptAccessPin(0);
  • A prim has only one pin for remotely loading scripts.
  • By changing the pin, a script can deny other scripts the ability to load scripts into the prim.
  • This could result in unintentionally breaking a products ability to be updated by an upstream creator.
  • This can be used to intentionally stop an upstream creator from updating a product.
  • There is no way to find out whether a script pin has been set by another script in the prim. If the prim contains scripts from other developers, the safe approach is to assume a script pin has been set by an upstream creator.
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.