turtle.transferTo

From ComputerCraft Wiki
Revision as of 07:11, 12 November 2012 by 82.174.111.104 (Talk) (added from version)

Jump to: navigation, search


Grid Redstone.png  Function turtle.transferTo
Transfers items from the selected slot to the specified slot in the quantity given.
Syntax turtle.transferTo(slot, quantity)
Returns bool "success"
Part of ComputerCraft
API turtle

Examples

Grid paper.png  Example
Transfers 32 items from the selected slot to slot 6.
Code
turtle.transferTo(6, 32)


This function came available in version 1.45