Difference between revisions of "Redstone.getBundledInput"
From ComputerCraft Wiki
m (added links) |
m (Moved to CAT:LuaCoreFunctions) |
||
| Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Revision as of 18:53, 28 November 2012
| No description provided. | |
| Syntax | redstone.getBundledInput(string side) |
| Returns | colors the colours that are activated on that side |
| Part of | ComputerCraft |
| API | redstone |
Examples
| 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 |