Anemone plug-in: How to create a double loop

Hey guys,

I’m trying to make a very basic script to move lines in unit z based on:
1- the given number of clusters
2- the number of levels per cluster
3- the height of every level
So I wanted to create a loop with the anemone plug-in, that contains the number of clusters and within it another loop which takes the informations of every cluster and move the points vertically. But I couldn’t manage to correctly connect the two loops to each other.
Any ideas on how to correct that?

Hier a simple example of the script:

double (22.6 KB)

Thanks a lot