Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --RailClient Version 1.0 5/2/2017
- rednet.open("bottom")
- servID, command = rednet.receive();
- if command == "open" then
- redstone.setOutput("back", true)
- end
- if command == "close" then
- redstone.setOutput("back",false)
- end
- if command == "status" then
- rednet.send(servID,online);
- end
- shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement