Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if redstone.getInput("right") == true then
- if turtle.getItemCount(1) == 1 then
- turtle.place()
- print("Yes")
- sleep(1)
- shell.run("startup")
- elseif turtle.getItemCount(1) ~= 1 then
- print("No!")
- sleep(1)
- shell.run("startup")
- end
- shell.run("startup")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement