Advertisement
Plazter

Get Peripherals

Mar 14th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. m = peripheral.wrap("left") -- either the side of the computer, or the name of the remote peripheral, in this case "iron_tank_valve_0"
  2. for k, v in pairs(m) do
  3.   print(k)
  4. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement