I often program autons by giving pid values after delays. I sometimes had to count up all the delays in entire autons to figure how much time i would have to cut to be in 15 seconds. The program below (written in python because of easy string processing) will count up all the delays in pasted code. This obviously isn’t necessary if you program your autons in arrays, but it can save some tedium otherwise. It can easily be adapted to count wait1ms (or anything else) by replacing the search substring.