This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Sherlock7219's profile picture

bios:338: [string "startup"]:5: 'then' expected

Started by Sherlock7219, 08 December 2013 - 06:03 PM
Sherlock7219 #1
Posted 08 December 2013 - 07:03 PM
[then expected]

____________________________________________________________________

rednet.open("right")

while true do
local,id,message,dist = rednet.receive()
if message = "des" then
for i=1, 12 do
redstone.setOutput("left" . true)
sleep(0.4)
redstone.setOutput("left".false)
sleep(0.4)
end
end
end
Lyqyd #2
Posted 08 December 2013 - 07:15 PM
This exact issue is covered in one of the sticky posts.