Difference between revisions of "Turtle.transferTo"

From ComputerCraft Wiki
Jump to: navigation, search
(Information sources fairly vague, may need minor improvements after experimentation.)
 
(added from version)
Line 13: Line 13:
 
}}
 
}}
 
}}
 
}}
 +
This function came available in version 1.45

Revision as of 07:11, 12 November 2012


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