Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Tnt Duper Controller
- local protocol = "TNTDUPER";
- rednet.open("top");
- rednet.host(protocol, "duper");
- function activateDuper()
- print("Activating");
- redstone.setOutput("back", true);
- sleep(.5)
- redstone.setOutput("back", false);
- end
- function server()
- while true do
- local from, message = rednet.receive(protocol);
- if message == "activate" then
- activateDuper();
- end
- end
- end
- server();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement