Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cube = peripheral.wrap("left")
- energy = cube.getEnergy()
- local allMonitors = table.pack(peripheral.find("monitor"))
- for i, monitor in ipairs(allMonitors) do
- shell.run("monitor", monitor, "rf")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement