local function _printTable(table, tabs) for key, value in pairs(table) do if type(value) == "table" then print(string.rep(" ", tabs) .. key .. ":") _printTable(value, tabs + 1) else print(string.rep(" ", tabs) .. key .. ": " .. value) end end end function printTable(table) _printTable(table, 0) end