From Second Life Wiki
GiveInventory
llGiveInventory
Description
Function: llGiveInventory( key destination, string inventory );
Give inventory to destination.
| • key
| destination
| –
| Avatar or object UUID.
|
|
| • string
| inventory
| –
| an item in the prim's inventory
|
|
If destination is an object then it must be in the same region.
If destination is an avatar they do not have to be in the same region.
Caveats
- If inventory is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
- There is no way to know if the transaction failed.
- Scripts reach destination disabled (not running). To send a running script to a prim use llSetRemoteScriptAccessPin