Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- What this does is output redstone signal in every direction for 2 seconds, which is very simple. It does -- not HAVE to open doors, but that is what it is meant for. Ok, on with the code.
- -- One more thing, this is meant for a startup script, but does not have to be.
- -- Turns out, I cannot retrieve the new file for some reason; it had optional choices to eject and opened
- -- doors in all directions, but now only to the right and the back. Oh well. And it only seems to eject from -- the top. Whatever,feel free to change the code to your needs.
- print("Thank You for choosing AzhfTech for all of your needs!")
- redstone.setOutput("back",true)
- redstone.setOutput("right",true)
- os.sleep(2)
- redstone.setOutput("back",false)
- redstone.setOutput("right",false)
- disk.eject("top")
- os.shutdown()
Advertisement
Add Comment
Please, Sign In to add comment