Turn on items based on lowest runtime - where to start?

Hello,

You may want to look that this thread for the cumulative use or total runtime:

You will need extra items for the times, eg. item1_runtime…
You will need to put your items in groups. eg. gRuntime, gItems, gPriority…

You will then need to work with items in groups (the arrays mentionned in your post):

Regards