Advertisement
Rom_bachar

Computer Craft Monitor SetText

Aug 26th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local monitor = peripheral.wrap( "top" )
  2. monitor.setTextScale(3)
  3. monitor.clear()
  4. monitor.setCursorPos(3,1)
  5. function newLine()
  6. local currentLine = monitor.getCursorPos()
  7. monitor.setCursorPos(1,currentLine-1)
  8. end
  9.  
  10. monitor.write("Auto Crafting")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement