ll.GiveAgentInventory (AgentID: uuid, FolderName: string, InventoryItems: list, Options: list) -> numberGive 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,
"must_use": false,
"link": "https://wiki.secondlife.com/wiki/LlGiveAgentInventory",
"private": false,
"takesSelf": false,
"name": "GiveAgentInventory",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "number"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "AgentID",
"desc": "An agent in the region.",
"type": [
{
"def": "simple",
"value": "uuid"
},
{
"def": "simple",
"value": "string"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "FolderName",
"desc": "Folder name to give to the agent.",
"type": [
{
"def": "simple",
"value": "string"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "InventoryItems",
"desc": "Inventory items to give to the agent.",
"type": [
{
"def": "simple",
"value": "list"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Options",
"desc": "A list of option for inventory transfer.",
"type": [
{
"def": "simple",
"value": "list"
}
],
"variadic": false,
"optional": false
}
]
}
]
}