Scripts can act on object inventory and objects can be configured to accept inventory from any source (llAllowInventoryDrop), as well as from agents with permission to modify the owner's objects. Being able to interrogate object inventory entries for their last owner would be good addition to scripting - it would make CHANGED_INVENTORY events more able to richly react to the users causing them, as well as allowing for (slightly) better behavior security.
Objects have a property OBJECT_LAST_OWNER_ID but this can only be interrogated (in script land) with llGetObjectDetails, while the object exists in the world.
It would be nice if this property was:
  • available on all kinds of asset,
  • set on them when they are added to an object's inventory,
  • and accessible via a
    key llGetInventoryLastOwner(string item)
    call; the same approach as llGetInventoryCreator.