Advertisement
Guest User

startup

a guest
Mar 25th, 2013
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. term.clear()
  2. m = peripheral.wrap("top")
  3. m.setTextScale(3)
  4. term.setCursorPos(1,1)
  5. print(1)
  6. term.setCursorPos(1,2)
  7. print("->")
  8. term.setCursorPos(6,3)
  9. print("+")
  10.  
  11. while true do
  12. event,side,x,y = os.pullEvent()
  13.  if event == "monitor_touch" then
  14.   if x == 1 and y == 1 then
  15.    term.setCursorPos(4,2)
  16.    print("1")
  17.   end
  18.  end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement