redstone.getBundledInput

From ComputerCraft Wiki
Revision as of 13:53, 13 May 2012 by 93.218.226.194 (Talk)

Jump to: navigation, search


Grid Redstone.png  Function redstone.getBundledInput
No description provided.
Syntax redstone.getBundledInput(string side)
Returns colors the colours that are activated on that side
Part of ComputerCraft
API redstone

Examples

Grid paper.png  Example
Checks whether the blue part of the back input is active
Code
print(colors.test(redstone.getBundledInput("back"), colors.blue))
Output true if the blue part of the back input is active, otherwise false