Syntax

key llGetInventoryCreator( string item );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

string item
an item in the inventory of the prim this script is in

Return value

Returns a key of the creator of the inventory item.

Caveats

Examples

Add an object to a prims inventory, as well as this script, in order to get the name of the creator.

default{
    state_entry(){
        llRequestAgentData(llGetInventoryCreator(llGetInventoryName( INVENTORY_OBJECT, 0)),DATA_NAME);
    }
    
    dataserver(key qid, string data){
        llOwnerSay(data);
    }
}

See also

Functions