Margresse404

Untitled

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