API GetLootSlotLink

Retrieves the itemLink of one item in the current loot window. itemLink = GetLootSlotLink(index)

Arguments

 * index : Number - The index of the item in the list to retrieve info from (1 to GetNumLootItems)

Returns

 * itemLink : String - The itemLink for the specified item, or nil if  is invalid.

Example
The example below will display the item links into your chat window.

local linkstext = "" for index = 1, GetNumLootItems do  if LootSlotHasItem(index) then local itemLink = GetLootSlotLink(index) linkstext = linkstext .. itemLink end end print(linkstext)