Margresse404

Untitled

Sep 12th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. monitors = peripheral.find("monitor")
  2.  
  3. function newLine()
  4. local x
  5. local y
  6. x, y = monitors.getCursorPos()
  7. y = y + 1
  8. monitors.setCursorPos(1,y)
  9. end
  10.  
  11. while counter < 10 do
  12. mon.write("hoi")
  13. newLine()
  14. counter = counter + 1
  15. end
Advertisement
Add Comment
Please, Sign In to add comment