FANDOM

Macro for listing inventory:

/script for s=1,23
  do l=GetInventoryItemLink("player",s);
  if (l) then a,b,c,d,e,f,g,h,i,j=GetItemInfo(l);
    DEFAULT_CHAT_FRAME:AddMessage(
      format("Slot %s: %s (%s/%s), level %s, rarity %s;",
         s, b, f, g, d, c));
  end;
end;
Community content is available under CC-BY-SA unless otherwise noted.