From Second Life Wiki
SetInventoryPermMask
llSetInventoryPermMask
Requires God Mode
(This function can only be executed in God Mode.)
Function: llSetInventoryPermMask( string item, integer mask, integer value );
Sets the given permission mask to the new value on the inventory item.
| • string
| item
| –
| an item in the prim's inventory
|
|
| • integer
| mask
| –
| MASK_* flag
|
|
| • integer
| value
| –
| Permission bitfield (PERM_* flags)
|
|
Caveats
- This function can only be executed in God Mode.
- If item is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.