Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --###############Lanemaster
- local modem = peripheral.wrap("left")
- local port = 0
- local message = "t-true"
- modem.transmit(port,port,message)
- --peripheral.call("left","transmit",1,1,"this")
- -- Update:
- -- check for user input, to end program etc.
- -- check for train entered lane and send message to Yardmaster about it
- -- check if there was a message from yardmaster
- -- ??
- while true do
- if redstone.getInput("right") then
- print("eee")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement