This was a great learning exercise for me, and thanks again Mike.
I went from being totally at sea, to being curious about getting things working and feeling I know where to look to find answers (apart from just asking for help).
I take on board your take away tips and I have already started scheming over how I can use that stored array to trigger more actions, like comparing the values to a "payout" chart that rings a bell or such like.
The nested for loops threw me because I could not see what action should precede another, but looking at it now it is obvious the flashing of the light is the primary root action and then the length of the flash, and then the number of flashes, and then the sequence of the flashes in the array, and then the number of time the sequence runs. So there is always an underlying logic.
Once I get my machine running I'll post some pictures/video...