Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redstone.setOutput("top",true)
- rednet.open("right")
- id,message,distance = rednet.receive()
- print("Got Message from")
- print(id)
- print(message)
- if id == 26 then
- if message == "DeployBridge" then
- shell.run("DeployBridge")
- os.reboot()
- end
- elseif id == 29 then
- if message == "DeployBridge" then
- shell.run("DeployBridge")
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement