code:
while true do
if os.time() = 17 then
redstone.setOutput("left", true)
sleep(4)
redstone.setOutput("left", false)
end
end
error:
bios:338: [string "startup"]:2: 'then' expected
Posted 01 April 2013 - 02:04 AM
while true do
if os.time() = 17 then
redstone.setOutput("left", true)
sleep(4)
redstone.setOutput("left", false)
end
end
bios:338: [string "startup"]:2: 'then' expected
Posted 01 April 2013 - 02:09 AM
while true do
if os.time() >= 17 or os.time() <= 6 then
redstone.setOutput("left", true)
sleep(4)
redstone.setOutput("left", false)
end
end
Posted 01 April 2013 - 02:11 AM
Edited by theoriginalbit, 01 April 2013 - 02:12 AM.
Posted 01 April 2013 - 02:21 AM
theoriginalbit, on 01 April 2013 - 02:19 AM, said:
Posted 01 April 2013 - 02:28 AM
Posted 01 April 2013 - 02:32 AM
Posted 01 April 2013 - 02:38 AM
pingoleon60, on 01 April 2013 - 02:21 AM, said:
spyman68, on 01 April 2013 - 02:32 AM, said:
0 members, 2 guests, 0 anonymous users