Advertisement
blacke00

power_check.lua

Nov 23rd, 2012
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. if redstone.getInput("right",true) then
  2. redstone.setOutput("back",true)
  3. print("Turning Power On!")
  4. else
  5. redstone.setOutput("back",false)
  6. print("Turning Power Off!")
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement