Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArgs={...}
- if tArgs[1] == nil then tArgs[1] = 1 end
- local j = 0
- function moveon()
- if rednet.recieve() then
- (j+1)
- else
- sleep(1)
- end
- for i = 1, tArgs[1] do
- shell.run("frameMove")
- shell.run("dig")
- print("Iteration: "..i)
- for j = 0,16 do
- print(i)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment