buhfur

For all things in my brain

View on GitHub

In the inventory, the slots are numbered like this:

1______10**
**2
______6

3______7**
**15
____8**
**4
______11

5______12**
**19
____13**
**9
______14

16 17 18

print the name and slot of equipped items

/run for i=0,23 do if GetInventoryItemLink("player",i) then DEFAULT_CHAT_FRAME:AddMessage("Slot "..i..": "..GetInventoryItemLink("player",i)) end end