function battlestuff() local i = 1; for k,v in htsData[realm][player].battles do MyModData[i] = v i = i + 1 end end