Advertisement
Guest User

startup

a guest
Dec 17th, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. r = peripheral.wrap("back")
  2. term.setTextColor(colors.green)
  3. print("=====================================")
  4. print("Run rstart to start the reactor")
  5. print("Run rshutdown to shutdown the reactor")
  6. print("=====================================")
  7. if r.getActive() == true
  8.   then
  9.     print("The reactor is currently on")
  10.   else
  11.     print("The reactor is currently off")
  12. end
  13. print("=====================================")
  14. term.setTextColor(colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement