论据有什么作用?如何在某处为 shell.run('asdf') 编写标签并将其链接到 shell.run('asdf') 行?编码:
turtle.dig()
turtle.forward()
-what api works with shell.run() here?- <---------- Where I want tag.
turtle.digUp()
turtle.dig()
turtle.turnLeft()
turtle.dig()
turtle.turnRight()
turtle.up()
if turtle.detect() then
shell.run('asdf') <---------- What do I put to link it to tag.
else
turtle.forward()
turtle.turnLeft()
end
while not turtle.detectDown() do
turtle.dig()
turtle.down()
end
turtle.turnLeft()
turtle.forward()
turtle.forward()
turtle.turnLeft()
turtle.turnLeft()