ll.GiveAgentInventory(AgentID: uuid, FolderName: string, InventoryItems: list, Options: list) : number
Give InventoryItems to the specified agent as a new folder of items, as permitted by the permissions system. The target must be an agent.
ll.GiveAgentInventory(
uuid('677bf9a4-bba5-4cf9-a4ad-4802a0f7ef46'),
'test',
{},
{}
)
{
"def": "func",
"desc": "Give InventoryItems to the specified agent as a new folder of items, as permitted by the permissions system. The target must be an agent.",
"energy": 10,
"sleep": 3,
"pure": false,
"link": "https://wiki.secondlife.com/wiki/LlGiveAgentInventory",
"name": "GiveAgentInventory",
"signatures": [
{
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
"number"
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "AgentID",
"desc": "An agent in the region.",
"type": [
"uuid",
"string"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "FolderName",
"desc": "Folder name to give to the agent.",
"type": [
"string"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "InventoryItems",
"desc": "Inventory items to give to the agent.",
"type": [
"list"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Options",
"desc": "A list of option for inventory transfer.",
"type": [
"list"
],
"variadic": false,
"optional": false
}
]
}
]
}