Advertisement
Plazter

ndnkiller

May 27th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. m = peripheral.wrap("top")
  2.  
  3. while true do
  4. if not rs.getInput("right") then
  5. rs.setOutput("bottom")
  6. m.clear()
  7. m.setCursorPos(1,1)
  8. m.setTextColor(colors.lime)
  9. m.write("WE ARE ON FIRE!")
  10. end
  11. if rs.getInput("right") then
  12. m.clear()
  13. m.setCursorPos(1,1)
  14. m.setTextColor(colors.red)
  15. m.write("We're safe!!")
  16. sleep(0.8)
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement