You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
This is an old revision of the document!
llAddToLandPassList(key id, float hours)
Add a person to the allowed residents list of the parcel, either temporarily or permanently.
Sleeps the script for 0.1 seconds.
The key of the avatar to allow access to.
A float with the number of hours the access allowance will last, or zero to be added permanently to the allowed avatars list.
// Permanently add Lag Low, whose key is 9b645372-8eac-44d1-9d24-a5254122600e, // to the access allowance list llAddToLandPassList("a2e76fcd-9360-4f6d-a924-000000000001", 0); // Allow access to Anything Something for 6 days (144 hours) llAddToLandPassList("06a07c53-f54d-4685-8760-4d8247f504ec", 9999);
This scripts scans for avatars every hour, and allows allows half an hour of access to a random avatar that is within 60 metres of the object:
default { state_entry() { llSensorRepeat("", "", AGENT, 60, PI, 3600); } sensor(integer num) { llAddToLandPassList(llDetectedKey((integer)lllFrand(num)), 0.5); } }