Give inventory to destination.

Syntax

void llGiveInventory( key destination, string inventory );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

key destination
avatar or prim UUID
string inventory
an item in the inventory of the prim this script is in

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

Examples

default
{
    touch_start(integer n)
    {
        //Gives this script to whoever touches the object.
        llGiveInventory(llDetectedKey(0), llGetScriptName());
    }
}

See also

Events

Functions

Deep notes

Issues

Tests