<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=OsGetInventoryItemKeys</id>
		<title>OsGetInventoryItemKeys - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=OsGetInventoryItemKeys"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;action=history"/>
		<updated>2026-04-06T10:35:49Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54131&amp;oldid=prev</id>
		<title>JeffKelley: Note about order</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54131&amp;oldid=prev"/>
				<updated>2024-03-29T11:59:00Z</updated>
		
		<summary type="html">&lt;p&gt;Note about order&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:59, 29 March 2024&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Return a list of the items UUIDs by type (or INVENTORY_ALL) located in the host or child prim prim inventory.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Return a list of the items UUIDs by type (or INVENTORY_ALL) located in the host or child prim prim inventory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;List ordering is arbitrary. Successive calls may return different orders.&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Note that unlike llGetInventoryKey, this function returns the item ID, not ID of its asset.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Note that unlike llGetInventoryKey, this function returns the item ID, not ID of its asset.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|additional_info=Added in 0.9.3.0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|additional_info=Added in 0.9.3.0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JeffKelley</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54111&amp;oldid=prev</id>
		<title>Manni at 11:52, 19 March 2024</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54111&amp;oldid=prev"/>
				<updated>2024-03-19T11:52:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:52, 19 March 2024&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// Example for osGetLinkInventoryItemKeys&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// Example for osGetLinkInventoryItemKeys&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Manni</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54106&amp;oldid=prev</id>
		<title>JeffKelley: Clarified GetInventoryKey/GetInventoryItemKey difference</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54106&amp;oldid=prev"/>
				<updated>2024-03-19T05:47:24Z</updated>
		
		<summary type="html">&lt;p&gt;Clarified GetInventoryKey/GetInventoryItemKey difference&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 05:47, 19 March 2024&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Return a list of the items UUIDs by type (or INVENTORY_ALL) located in the host or child prim prim inventory.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Return a list of the items UUIDs by type (or INVENTORY_ALL) located in the host or child prim prim inventory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Note that unlike llGetInventoryKey, this function returns the item ID, not ID of its asset.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|additional_info=Added in 0.9.3.0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|additional_info=Added in 0.9.3.0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JeffKelley</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54059&amp;oldid=prev</id>
		<title>Ubit: Created page with &quot;{{osslfunc |threat_level=ignored |permissions=true |delay=0|function_syntax=list osGetInventoryItemKeys(integer type)&lt;br&gt; list osGetLinkInventoryItemKeys(integer linkNumber, i...&quot;</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetInventoryItemKeys&amp;diff=54059&amp;oldid=prev"/>
				<updated>2024-03-05T20:31:05Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{osslfunc |threat_level=ignored |permissions=true |delay=0|function_syntax=list osGetInventoryItemKeys(integer type)&amp;lt;br&amp;gt; list osGetLinkInventoryItemKeys(integer linkNumber, i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{osslfunc&lt;br /&gt;
|threat_level=ignored&lt;br /&gt;
|permissions=true&lt;br /&gt;
|delay=0|function_syntax=list osGetInventoryItemKeys(integer type)&amp;lt;br&amp;gt;&lt;br /&gt;
list osGetLinkInventoryItemKeys(integer linkNumber, integer type)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|ossl_example=&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
// Example for osGetInventoryItemKeys&lt;br /&gt;
// This script uses the osGetInventoryKeys function to return a list of keys based on inventory type&lt;br /&gt;
&lt;br /&gt;
// Define the inventory type&lt;br /&gt;
integer INVENTORY_TYPE = INVENTORY_ALL;&lt;br /&gt;
&lt;br /&gt;
// Event handler, that is executed on script start&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        // Get the list of keys&lt;br /&gt;
        list itemUUIDs = osGetInventoryItemKeys(INVENTORY_TYPE);&lt;br /&gt;
&lt;br /&gt;
        // Check if the list contains items&lt;br /&gt;
        if (llGetListLength(itemUUIDs) &amp;gt; 0)&lt;br /&gt;
        {&lt;br /&gt;
            // Go through the list and output it to owner chat&lt;br /&gt;
            integer numItems = llGetListLength(itemUUIDs);&lt;br /&gt;
            string uuidList = &amp;quot;UUIDs of the inventory items:\n&amp;quot;;&lt;br /&gt;
            integer i;&lt;br /&gt;
            for (i = 0; i &amp;lt; numItems; ++i)&lt;br /&gt;
            {&lt;br /&gt;
                string itemUUID = llList2String(itemUUIDs, i);&lt;br /&gt;
                uuidList += itemUUID + &amp;quot;\n&amp;quot;;&lt;br /&gt;
            }&lt;br /&gt;
            llOwnerSay(uuidList);&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            // If the list is empty indicate as such&lt;br /&gt;
            llOwnerSay(&amp;quot;Inventory is empty or not items of inventory type were found&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// Example for osGetLinkInventoryItemKeys&lt;br /&gt;
// This script uses the osGetLinkInventoryItemKeys function to return a list of inventory items from a given child prim&lt;br /&gt;
&lt;br /&gt;
// Define the child prim&lt;br /&gt;
integer CHILD_PRIM_NUMBER = 2;&lt;br /&gt;
// Define the inventory type to fetch a list of&lt;br /&gt;
integer INVENTORY_TYPE = INVENTORY_ALL;&lt;br /&gt;
&lt;br /&gt;
// Event handler, that is executed on script start&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        // Get the list of keys for the inventory items of the child prim&lt;br /&gt;
        list itemUUIDs = osGetLinkInventoryItemKeys(CHILD_PRIM_NUMBER, INVENTORY_TYPE);&lt;br /&gt;
&lt;br /&gt;
        // Check if the list contains items&lt;br /&gt;
        if (llGetListLength(itemUUIDs) &amp;gt; 0)&lt;br /&gt;
        {&lt;br /&gt;
            // Go through the list and output it to owner chat&lt;br /&gt;
            integer numItems = llGetListLength(itemUUIDs);&lt;br /&gt;
            string uuidList = &amp;quot;Inventory UUIDs:\n&amp;quot;;&lt;br /&gt;
            integer i;&lt;br /&gt;
            for (i = 0; i &amp;lt; numItems; ++i)&lt;br /&gt;
            {&lt;br /&gt;
                string itemUUID = llList2String(itemUUIDs, i);&lt;br /&gt;
                uuidList += itemUUID + &amp;quot;\n&amp;quot;;&lt;br /&gt;
            }&lt;br /&gt;
            llOwnerSay(uuidList);&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            // If there are not returns indicate as such&lt;br /&gt;
            llOwnerSay(&amp;quot;There are no items of that inventory type in the child prim&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|description=&lt;br /&gt;
Return a list of the items UUIDs by type (or INVENTORY_ALL) located in the host or child prim prim inventory.&lt;br /&gt;
|additional_info=Added in 0.9.3.0&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Ubit</name></author>	</entry>

	</feed>