Advertisement
Guest User

startup

a guest
May 31st, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. -- Starting Protocol
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("Reactor Controller 1.0")
  5.  
  6. term.setCursorPos(1,2)
  7. write("Written By Ian")
  8.  
  9. term.setCursorPos(1,4)
  10. term.setTextColor(colors.green)
  11. print("True")
  12.  
  13. term.setCursorPos(8,4)
  14. term.setTextColor(colors.red)
  15. print("False")
  16.  
  17. term.setTextColor(colors.white)
  18. term.setCursorPos(1,6)
  19. write("Input: ")
  20. Input = read("*")
  21.  
  22. if Input == true then
  23. print("True")
  24. sleep(2)
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement