Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local correct, answer = "putcommandcodehere", ""
- rednet.open("bottom")
- sleep(1)
- while answer ~= correct do
- local id, message, protocol = rednet.receive()
- if message == "**" then
- redstone.setOutput("back", true)
- print("activating")
- sleep(1)
- redstone.setOutput("back", false)
- else
- print("sorry, that ain't it chief")
- end
- answer = message
- end
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement