Spoiler
The printing for testing purposes only.
Posted 09 September 2012 - 12:18 AM
Posted 09 September 2012 - 12:23 AM
Posted 09 September 2012 - 12:31 AM
Posted 09 September 2012 - 01:20 AM
function whitetest()
local a = redstone.getBundledInput( "back" )
local white = colors.test( a, colors.white )
return white
end
function pinktest()
local b = redstone.getBundledInput( "back" )
local pink = colors.test( b, colors.pink )
return pink
end
whitetest()
if white == true then
print("white on")
elseif white == false then
print("white off")
else
print("white failed")
end
pinktest()
if pink == true then
print("pink on")
elseif pink == false then
print("pink off")
else
print("pink failed")
end
0 members, 1 guests, 0 anonymous users