Posted 09 September 2012 - 01:18 AM
I'm trying to get this code working but I can't seem to fix it, its melting my brain!
The printing for testing purposes only.
Spoiler
function whitetest()
local a = redstone.getBundledInput( "back" )
local white = colors.test( a, colors.white )
end
function pinktest()
local b = redstone.getBundledInput( "back" )
local pink = colors.test( b, colors.pink )
end
if white == true then
print("white on")
elseif white == false then
print("white off")
else
print("white failed")
end
if pink == true then
print("pink on")
elseif pink == false then
print("pink off")
else
print("pink failed")
end
The printing for testing purposes only.