Posted 22 November 2012 - 12:33 AM
I don't know why, but when I run my program, it just said '178' on the screen without performing the program. I've seen other error reports about this, but I still can't fix it. Here's the code:
rednet.open("right")
white = rs.testBundledInput("left", 1)
orange = rs.testBundledInput("left", 2)
magenta = rs.testBundledInput("left", 4)
lightBlue = rs.testBundledInput("left", 8)
yellow = rs.testBundledInput("left", 16)
while true do
if white == true then
rednet.send(5, "w")
else if orange == true then
rednet.send(5, "d")
else if magenta == true then
rednet.send(5, "s")
else if lightBlue == true then
rednet.send(5, "a")
else if yellow == true then
rednet.send(5, "r")
end
end
end
end
end