Stats
Files: 18
Downloads: 69,819
Favorites: 376

Menu
» Home



Content

New & Updated
» stText


WOWInterface

 
Add Tabard-o-Matic support in cargBags
In your UpdateButton add these lines

Code:
if IsAddOnLoaded("Tabard-O-Matic") then
	local slot = button:GetID()
	
	local link = GetContainerItemLink(item.bagID, slot)
	if (link) then
		local ItemID = tonumber(link:match("item:(%d+)"))
		local TabardValue = TabardTextures[ItemID]
	
			if TabardValue then
				Tabard_O_Matic:SetTheButtons(button, TabardValue.ItemName)
			end
	end
end
And that's all cargBags will now show Tabard-o-Matic tabards