That actually works quite nicely. Below is a few alterations, but if you know of a way so it doesn’t repeat the same number twice. I’ve tried a few things, but I’ve just resorted to what I’ve done below…Although I’d like to incorporate getMonth, so I can create a A*B or A+B so it’ll be different every day without repeating the same pattern each month…But unfortunately it fired back a lot of repeats and I can’t change all of them. So if there is a way to change a repeated number that would be cool…Otherwise I am very happy with this.
Just because I want numbers 1-6, for some unknown reason it didn’t select 1 often and never selected 6. So i’ve changed it to
D = Math.round(random(0,7));
if(D == 0) 1
else if (D == 7) 6
else
D;
Just to be sure…I went through the course of 1-31 using a slider, it picked the same number in a row twice, so I’ve include that if the
seedRandom(Date(0).split(” “)[2]) equals those two day, it just picks another number….
A = Date(0).split(” “)[2];
if (A == 5) A = 33
else if (A ==26) A = 34
else
A;
seedRandom(A,true);
D = Math.round(random(0,7));
if(D == 0) 1
else if (D == 7) 6
else
D;
So thank you.