Advertisement
Runnetty

LaneMaster

Sep 30th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. --###############Lanemaster
  2.  
  3. local modem = peripheral.wrap("left")
  4. local port = 0
  5. local message = "t-true"
  6.  
  7. modem.transmit(port,port,message)
  8. --peripheral.call("left","transmit",1,1,"this")
  9.  
  10. -- Update:
  11. -- check for user input, to end program etc.
  12. -- check for train entered lane and send message to Yardmaster about it
  13. -- check if there was a message from yardmaster
  14. -- ??
  15. while true do
  16. if redstone.getInput("right") then
  17. print("eee")
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement