Advertisement
domi02198

Untitled

May 31st, 2013
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. m = peripheral.wrap("top")
  2. h = fs.open("/data","r")
  3. nr = h.readLine()
  4. name = h.readLine()
  5. x,y = mon.getSize()
  6. x= x/2-3
  7. mon.setCursorPos(x,1)
  8. mon.write("NR. "..nr)
  9. mon.setCursorPos(1,3)
  10. mon.write(name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement