Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fnsh = false
- sp = peripheral.wrap("back")
- while true do
- if rs.getInput("top") == true and fnsh == false then
- sp.speak("The next station is: . . Milcastle")
- fnsh = true
- elseif rs.getInput("top") == false and fnsh == true then
- sleep(5)
- fnsh = false
- end
- sleep(.01)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement