Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- term.clear()
- term.setCursorPos(1,1)
- print("Crusher Program On")
- while true do
- id,message = rednet.receive()
- if id == Computer1ID and message == "Crush" then -- This computer ID is yours
- redstone.setOutput("back", false) -- Yep, it work on the reverse way
- elseif id == Computer1ID and message == "NoCrush" then
- redstone.setOuput("back", true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement