Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local slots
- local t = turtle
- if #arg > 1 then
- slots = arg[1]
- else
- slots = 5
- end
- print('Running slots: '..slots.." (3-"..slots+2..")")
- for i = 3 to slots do
- t.drop(1)
- end
- repeat
- print('Redstone: '..rs.getAnalogInput('front'))
- os.sleep(1)
- until (rs.getAnalogInput('front') > 1)
- t.up()
- t.select(2)
- t.drop(1)
- t.down()
- t.select(1)
- t.place()
Add Comment
Please, Sign In to add comment