Advertisement
Guest User

myprogram

a guest
Apr 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. local score = 10
  2. local name = ""
  3.  
  4. local mon = peripheral.wrap("right")
  5. local modem = peripheral.wrap("left")
  6. local sensor = peripheral.wrap("top")
  7.  
  8.  
  9. function drawintro()
  10.   mon.clear()
  11.   mon.setTextScale(2)
  12.   mon.setTextColor(colors.green)
  13.  
  14.   mon.setCursorPos(1, 2)
  15.   mon.write("Welcome!")
  16.  
  17.   mon.setCursorPos(1, 3)
  18.   mon.write("Touch to start!")
  19. end
  20.  
  21. drawintro()
  22.  
  23.  
  24. --modem.open(101)
  25.  
  26. while 1 do
  27.   --drawintro()
  28.   sleep(1)
  29.   break
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement