Advertisement
Guest User

[COMPUTERCRAFT] Text screen

a guest
Nov 21st, 2019
2,167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. mon = peripheral.wrap("bottom") --assumes monitor is on right side of computer
  2.  
  3. mon.clear() --clear the monitor
  4.  
  5. mon.setCursorPos(1,1) --set cursor to upper left position
  6.  
  7. mon.write("CAFELEC") --write text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement