Advertisement
Guest User

train

a guest
Sep 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. m = peripheral.wrap("monitor_0")
  2. mn = peripheral.wrap("monitor_1")
  3. pos = 14
  4. ps = 14
  5. m.clear()
  6. mn.clear()
  7. m.setTextScale(1.5)
  8. mn.setTextScale(1.5)
  9. while true do
  10. if pos==-130 then
  11. pos = 14
  12. end
  13. if ps==-130 then
  14. ps = 14
  15. end
  16.  
  17. m.clear()
  18. mn.clear()
  19. m.setCursorPos(pos,3)
  20. mn.setCursorPos(ps,3)
  21. m.write("This is Block Hill Road. Change for the Northern Line and District Link. This is a Circle Line Train to Bankside (via Iron Hill).")
  22. pos = pos-1
  23. mn.write("This is Block Hill Road. Change for the Northern Line and District Link. This is a Circle Line Train to Bankside (via Iron Hill).")
  24. ps = ps-1
  25. sleep(0.15)
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement