Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args = {...}
- print("Turtle inventory leeg maken")
- for i=1,16 do
- turtle.select(i)
- e=64
- while e ~= 0 do
- if (args[1]=="down") then
- print("down")
- turtle.dropDown()
- elseif (args[1]=="up") then
- print("up")
- turtle.dropUp()
- elseif (args[1]=="front") then
- print("front")
- turtle.drop()
- else
- turtle.dropDown()
- end
- e = turtle.getItemCount(i)
- print("Items in slot "..i..":"..e)
- end
- end
- local m = peripheral.wrap("right")
- m.transmit(100,100,"ready")
Advertisement
Add Comment
Please, Sign In to add comment