darklife06

test

Sep 18th, 2013
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. m = peripheral.wrap("left")
  2. mon = peripheral.wrap("top")
  3. myList = m.listAll()
  4.  
  5. mon.clear()
  6. y = 1
  7. for k, v in pairs (myList) do
  8.   mon.setCursorPos(1, y)
  9.   mon.write(tostring(k)..": "..tostring(v))
  10.   y = y + 1
  11. end
Add Comment
Please, Sign In to add comment