chand1012

allshutdown

Feb 10th, 2017
129
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.     os.pullEvent("redstone")
  3.     if redstone.getInput('right') then
  4.         print("De-activating Reactor and Quarry...")
  5.         local modem = peripheral.wrap("top")
  6.         modem.transmit(1200, 1200, "False")
  7.         modem.transmit(1200, 1200, "Off")
  8.         print("Reactor and Quarry Turned off.")
  9.         sleep(3)
  10.     end
  11. end
RAW Paste Data