daily pastebin goal
35%
SHARE
TWEET

startup

a guest Jun 13th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. fnsh = false
  3. sp = peripheral.wrap("back")
  4.  
  5. while true do
  6. if rs.getInput("top") == true and fnsh == false then
  7.   sp.speak("The next station is: . . Milcastle")
  8.   fnsh = true
  9. elseif rs.getInput("top") == false and fnsh == true then
  10.   sleep(5)
  11.   fnsh = false
  12. end
  13. sleep(.01)
  14. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top