Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reactor = peripheral.wrap("bottom")
- rednet.open("front")
- while true do
- id, msg = rednet.receive()
- if msg == "start" then
- print("started")
- print(reactor.getHeat())
- redstone.setOutput("bottom", true)
- elseif msg == "stop" then
- print("stopped")
- print(reactor.getHeat())
- redstone.setOutput("bottom", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement