View difference between Paste ID: ZLkW61Lk and 8YYW2LMW
SHOW: | | - or go back to the newest paste.
1
local args={...}
2
amount=args[1]-0
3
4
function main()
5
    turtle.select(1)
6
    turtle.suckUp(turtle.getItemSpace())
7
    turtle.drop(amount)
8
    print("Droppin' this dough!")
9
end
10
main()
11
os.reboot()