Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- term.setBackgroundColor(colors.blue)
- term.clear()
- print("===================================================")
- print(" serveur des train de la cite ")
- print("===================================================")
- print("===================================================")
- print(" V1 ")
- print("===================================================")
- while true do
- sleep(0.1)
- event, id, msg, distance = os.pullEvent()
- if event == "rednet_message" then
- if id == 0 then
- if msg == "train" then
- print("Arret des booster rail et des stations")
- rednet.broadcast("stop")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement