Posted 22 April 2015 - 06:33 PM
Hello guys, first I want to say : I have read this Read This Post Before Asking Questions and I haven't found the anwser to my problem
So, there is my code :
And my error is : At line 7 and it's an 'then' expected
If someone can help me please :)/>
So, there is my code :
rednet.open("left")
while true do
local senderId, message, protocol = rednet.receive()
if senderId == 28 then
if message == "on"
rs.setOutput("right", true)
else
rs.setOutput("right", false)
end
end
end
And my error is : At line 7 and it's an 'then' expected
If someone can help me please :)/>