Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = turtle
- local function forward(x)
- for i = 1, x do
- t.forward()
- end
- end
- local function rTurn(x)
- for i = 1, x do
- t.turnRight()
- end
- end
- local function lTurn(x)
- for i = 1, x do
- t.turnLeft()
- end
- end
- local function up(x)
- for i = 1, x do
- t.up()
- end
- end
- local function down(x)
- for i - 1, x do
- t.down()
- end
- end
- local function back(x)
- for i -1, x do
- t.back()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement