Advertisement
jamjar199

scram

Jan 20th, 2021 (edited)
821
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local comId = os.getComputerID()
  2. print("My Id is " ..  comId);
  3.  
  4. redstone.setOutput("back", true);
  5. print("Reactor enabled");
  6.  
  7. while true do
  8.     local id, message = rednet.receive()
  9.     if (message == "SHUDOWN") then
  10.         redstone.setOutput("back", false)
  11.         print("Reactor disabled");
  12.     end
  13. end
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement