Advertisement
Forecaster

Print tables to file OC

Sep 15th, 2015
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local component = require("component")
  2. local s = require("serialization")
  3. local args = {...}
  4. for k, v in pairs(component[args[1]]) do
  5.   io.write("  "..k.." = "..s.serialize(v, true).."\n")
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement