Here is my code to the computer www.pastebin.com/zz5BBhnk
Here is my code to the turtle www.pastebin.com/nqb3UznA
Thank You!
Posted 18 January 2014 - 07:54 PM
Posted 19 January 2014 - 02:17 AM
Posted 19 January 2014 - 05:59 AM
Posted 19 January 2014 - 06:07 AM
Posted 19 January 2014 - 06:59 AM
if message == "f" then turtle.forward() end -- should use elseif here instead if message == "l" then turtle.turnLeft() endCan instead be
if message == "f" then turtle.forward() elseif message == "l" then turtle.turnLeft() endThis both makes the code more optimized(faster), aswell as shorter.
0 members, 1 guests, 0 anonymous users