turtle.transferTo

From ComputerCraft Wiki
Revision as of 00:01, 26 October 2012 by Nela (Talk | contribs) (Information sources fairly vague, may need minor improvements after experimentation.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)