Or

// it does output an undefined at the end of each group
var content_in_group = 0;
  var groups = 0;
  // can only run once^
var group1 = ["a", "b", "d"];
var group2 = ["ae", "be", "de", "ttt"];
var group3 = ["ar", "br", "dr"];
var group_ids = [group1, group2, group3];
var i = (group_ids[groups])[content_in_group];
content_in_group = content_in_group + 1;
if (i == undefined) {
  content_in_group = 0;
  groups = groups + 1;
}
if (group_ids[groups] == undefined) {
  content_in_group = 0;
  groups = 0;

I was showing a couple of ways you can and in that process, I solved my own problem

it is functioning now I need to make a version that protects key values
FFFFFFFFFFFFFFFFFFFFFFun

I just got an error
ERROR: Line: 80: SyntaxError: Unexpected token u in JSON at position 0

so I decided to work on Locus again and I think there are more errors than last time

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFun

14 days later

Varrience so it by itself works great but if I put it in Locus it sticks with group2 any thoughts?

Chat