---stat checker function checkitems(minr,maxr) local item local t = {} if not minr then minr = 60 end if not maxr then maxr = 90 end for i=minr,maxr do item = inventory.BagSlot[i] --get item t = item:getGameTooltip(); -- get tooltip cprintf(cli.blue,item.Name.."\n") for i,v in ipairs(t) do if (v ~= " " or v ~= "" or v ~= " ") and (string.find(v,"I") or string.find(v,"V") or string.find(v,"X")) then cprintf(cli.green,v.."\t") --printf(string.gsub(v,"%%","percent").."\n"); -- print all tooltips end end printf("\n") end end