ronkrt

Untitled

Jun 17th, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. function main()
  2. term.clear()
  3. x,y = term.getSize()
  4. term.setCursorPosition(1,1)
  5. term.setCursorBlink(true)
  6. print("Welcome to turtlemine!")
  7. end
  8. function Input()
  9. while true do
  10. print("Mine > ")
  11. x = read()
  12. print(x)
  13. if(string.lower(x)=="exit") then
  14. break
  15. else
  16. rednet.broadcast(x)
  17. end
  18. end
  19. end
  20. main()
Advertisement
Add Comment
Please, Sign In to add comment