Posted 13 August 2012 - 07:44 PM
So made this, This is in the cc version witch comes with tekkit, the newset rec build. I don't think it is the newest CC out there.
function derpMode()
local inf = noStop
while inf ~= stop do
way = math.random(1, 6)
if way == 1 then
turtle.forward()
sleep(.1)
print("test")
elseif way == 2 then
turtle.back()
sleep(.1)
print("test")
elseif way == 3 then
turtle.turnLeft()
turtle.forward()
sleep(.1)
print("test")
elseif way == 4 then
turtle.turnLeft()
turtle.forward()
sleep(.1)
print("test")
elseif way == 5 then
turtle.up()
sleep(.1)
print("test")
elseif way == 6 then
turtle.down()
sleep(.1)
print("test")
end
end
end
function content()
print ("Content List")
print ("Name: Usage:")
print ("RandomWalk() sjTurtle.derpMode()")
end
I added a ton of test's to see were it failed. (This is an api) But it wont show anything. It wont do anything either.