Advertisement
asteroidsteam

Untitled

Feb 28th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. while true do
  2. mon = peripheral.wrap("top")
  3. mon.clear()
  4. mon.setTextScale(1)
  5. mon.setCursorPos(1,1)
  6. mon.write("Waiting For Button Event...")
  7. mon.setTextScale(1)
  8. mon.setCursorPos(1,1)
  9. if rs.getInput("front") then
  10. mon.clear()
  11. shell.run("monitor top gps locate")
  12. break
  13. else
  14.  
  15. end
  16. os.pullEvent("redstone")
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement