Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("top")
- h = fs.open("/data","r")
- nr = h.readLine
- name = h.readLine()
- x,y = mon.getSize()
- mon.setCursorPos(x/2-3,1)
- mon.write("NR. "..nr)
- mon.setCursorPos(1,3)
- mon.write(name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement