Advertisement
Skip_21

Crusher with CC Computer 2 Side (Immersive Engineering)

Mar 7th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. rednet.open("top")
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("Crusher Program On")
  5.  
  6. while true do
  7.     id,message = rednet.receive()
  8.     if id == Computer1ID and message == "Crush" then -- This computer ID is yours
  9.         redstone.setOutput("back", false) -- Yep, it work on the reverse way
  10.     elseif id == Computer1ID and message == "NoCrush" then
  11.         redstone.setOuput("back", true)
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement