i just found this mod 5 days ago and have been studying programming ever since!
At the moment i am working on a control panel controlling 5 different systems.
it is in working condition (it can toggle stuff on or off atm), but i want to add a indicator for each system.
so since i knew bundled cables are a pain to work whit i did a experiment.
if rs.getBundledInput("back", colors.white ) then
print("white wire is on")
elseif rs.getBundledInput("back", colors.orange ) then
print("orange wire is on")
else
print("No wire is on")
end
but i always outputs:
White wire is on
always!!











