Difference between revisions of "Redstone.getBundledInput"

From ComputerCraft Wiki
Jump to: navigation, search
Line 1: Line 1:

Revision as of 11:41, 26 February 2012

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


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