Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function line(x) do
- for i=1,x do
- turtle.dig()
- turtle.forward()
- end
- end
- --GLAVNI PROGRAM
- local tArgs = {...}
- local a = 0
- local b = 0
- a = tonumber(tArgs[1])
- b = tonumber(tArgs[2])
- line(a)
- turtle.turnRight()
- line(b)
- turtle.turnRight()
- line(a)
- turtle.turnRight()
- line(b)
- turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement