meh, the 9 should have been 8 upon further consideration, but I dun like it anyhow, this is better
NPC Code:
for (i=0;i<8;i++) {
i = (i/3==int(i)/3)?i+1:i;
a = int(random(0,6.9));
while (!save[a]==0) a=(a+1)%7;
save[a]=i;
}
a = save[int(random(0,6.9))];
redundancy is fun
