while true do turtle.attack() sleep(2) end
can anyone tell my what i did wrong
Posted 14 February 2013 - 05:21 AM
while true do turtle.attack() sleep(2) end
Posted 14 February 2013 - 05:23 AM
Posted 14 February 2013 - 05:25 AM
Posted 14 February 2013 - 05:35 AM
Posted 14 February 2013 - 05:43 AM
while true do
while turtle.detectDown() = true do
turtle.attack()
end
end
Posted 14 February 2013 - 07:03 AM
tribalthomas, on 14 February 2013 - 05:43 AM, said:
while true do while turtle.detectDown() = true do turtle.attack() end end
while true do while turtle.detectDown() == true do turtle.attack() end end
while true do while turtle.detectDown() do turtle.attack() end end
Posted 14 February 2013 - 11:35 AM
while true do turtle.attack() end
Posted 15 February 2013 - 01:39 AM
mrbaconbitts, on 14 February 2013 - 11:35 AM, said:
while true do turtle.attack() end
Posted 15 February 2013 - 01:40 AM
Posted 15 February 2013 - 06:46 AM
while true do
if redstone.getInput("front") then
turtle.attack()
else
os.pullEvent("redstone")
end
end
Viva la efficient coding ;P
0 members, 1 guests, 0 anonymous users