help getting loop to loop

Well whatever those words mean then yes, you can program anything you can describe.
Work on your description.