This is the .msl script I use to select loop 2 on Track 1:
#name Track2Loop1
in 2 SelectLoop(1)
You could add all the loops per track that you'd like to select and have it wait till the loop is done as well with this adjustment:
#name selectTrack234Loop2
//maybe capitalize the W or L can't remember
wait loop
in 2 SelectLoop(2)
in 3 SelectLoop(2)
in 4 SelectLoop(2)
Hope this helps, let me know if it works out!