Glebasik Jan 24th, 2020 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. red = component.proxy(component.list("redstone")())modem = component.proxy(component.list('modem')()), 0)red.setOutput(2, 0)  -- no explosions yet =)while true do  name, _, sender, _, _, message = computer.pullSignal(2)  if name == 'modem_message' then    if message == 'open' then      red.setOutput(5, 15)    elseif message == 'close' then      red.setOutput(5, 0)    else                    -- hacker tries to get?      red.setOutput(2, 15)  -- fire in the hole!!!    end  endendmodem.close()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand