function getIcons() hashes = otherresults["#442"] or error("Need result of #442, please recalc") j, icons = nil, {} while true do i, j, r, hash = string.find(hashes, "(%d+, %d+, %d+, %d+) %-> ([a-f0-9]+)", j) if i == nil then break end icons[hash] = r end end