redstone.getBundledInput
From ComputerCraft Wiki
Revision as of 13:53, 13 May 2012 by 93.218.226.194 (Talk)
| 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 wich color (int) is activated | |
| Code |
print(redstone.getBundledInput("back"))
|
| Output | the number (1-16) which cable is activated |
}}