setarray 'wave1id[0],1002,1002,1002,1002,1002;
setarray 'wave2id[0],1002,1002,1002,1002,1002;
setarray 'wave3id[0],1002,1002,1002,1002,1002;
setarray 'wave4id[0],1002,1002,1002,1002,1002;
setarray 'wave5id[0],1002,1002,1002,1002,1002;
setarray 'wave6id[0],1002,1002,1002,1002,1002;
setarray 'wave7id[0],1002,1002,1002,1002,1002;
setarray 'wave8id[0],1002,1002,1002,1002,1002;
setarray 'wave9id[0],1002,1002,1002,1002,1002;
setarray 'wave10id[0],1002,1002,1002,1002,1002;
setarray 'wave11id[0],1002,1002,1002,1002,1002;
setarray 'wave12id[0],1002,1002,1002,1002,1002;
setarray 'wave13id[0],1002,1002,1002,1002,1002;
setarray 'wave14id[0],1002,1002,1002,1002,1002;
setarray 'wave15id[0],1002,1002,1002,1002,1002;
setarray 'wave16id[0],1002,1002,1002,1002,1002;
setarray 'wave17id[0],1002,1002,1002,1002,1002;
setarray 'wave18id[0],1002,1002,1002,1002,1002;
setarray 'wave19id[0],1002,1002,1002,1002,1002;
setarray 'wave20id[0],1002,1002,1002,1002,1002;
setarray 'wave21id[0],1002,1002,1002,1002,1002;
setarray 'wave22id[0],1002,1002,1002,1002,1002;
setarray 'wave23id[0],1002,1002,1002,1002,1002;
setarray 'wave24id[0],1002,1002,1002,1002,1002;
setarray 'wave25id[0],1002,1002,1002,1002,1002;
setarray 'wave26id[0],1002,1002,1002,1002,1002;
setarray 'wave27id[0],1002,1002,1002,1002,1002;
setarray 'wave28id[0],1002,1002,1002,1002,1002;
setarray 'wave29id[0],1002,1002,1002,1002,1002;
setarray 'wave30id[0],1002,1002,1002,1002,1002;
setarray 'wave1am[0],1,1,1,1,1;
setarray 'wave2am[0],1,1,1,1,1;
setarray 'wave3am[0],1,1,1,1,1;
setarray 'wave4am[0],1,1,1,1,1;
setarray 'wave5am[0],1,1,1,1,1;
setarray 'wave6am[0],1,1,1,1,1;
setarray 'wave7am[0],1,1,1,1,1;
setarray 'wave8am[0],1,1,1,1,1;
setarray 'wave9am[0],1,1,1,1,1;
setarray 'wave10am[0],1,1,1,1,1;
setarray 'wave11am[0],1,1,1,1,1;
setarray 'wave12am[0],1,1,1,1,1;
setarray 'wave13am[0],1,1,1,1,1;
setarray 'wave14am[0],1,1,1,1,1;
setarray 'wave15am[0],1,1,1,1,1;
setarray 'wave16am[0],1,1,1,1,1;
setarray 'wave17am[0],1,1,1,1,1;
setarray 'wave18am[0],1,1,1,1,1;
setarray 'wave19am[0],1,1,1,1,1;
setarray 'wave20am[0],1,1,1,1,1;
setarray 'wave21am[0],1,1,1,1,1;
setarray 'wave22am[0],1,1,1,1,1;
setarray 'wave23am[0],1,1,1,1,1;
setarray 'wave24am[0],1,1,1,1,1;
setarray 'wave25am[0],1,1,1,1,1;
setarray 'wave26am[0],1,1,1,1,1;
setarray 'wave27am[0],1,1,1,1,1;
setarray 'wave28am[0],1,1,1,1,1;
setarray 'wave29am[0],1,1,1,1,1;
setarray 'wave30am[0],1;
//Wave 1 Mob Amounts total
'Wave1Total = 'wave1am[0]+'wave1am[1]+'wave1am[2]+'wave1am[3]+'wave1am[4];
//Wave 2 Mob Amounts total
'Wave2Total = 'wave2am[0]+'wave2am[1]+'wave2am[2]+'wave2am[3]+'wave2am[4];
//Wave 3 Mob Amounts total
'Wave3Total = 'wave3am[0]+'wave3am[1]+'wave3am[2]+'wave3am[3]+'wave3am[4];
//Wave 4 Mob Amounts total
'Wave4Total = 'wave4am[0]+'wave4am[1]+'wave4am[2]+'wave4am[3]+'wave4am[4];
//Wave 5 Mob Amounts total
'Wave5Total = 'wave5am[0]+'wave5am[1]+'wave5am[2]+'wave5am[3]+'wave5am[4];
//Wave 6 Mob Amounts total
'Wave6Total = 'wave6am[0]+'wave6am[1]+'wave6am[2]+'wave6am[3]+'wave6am[4];
//Wave 7 Mob Amounts total
'Wave7Total = 'wave7am[0]+'wave7am[1]+'wave7am[2]+'wave7am[3]+'wave7am[4];
//Wave 8 Mob Amounts total
'Wave8Total = 'wave8am[0]+'wave8am[1]+'wave8am[2]+'wave8am[3]+'wave8am[4];
//Wave 9 Mob Amounts total
'Wave9Total = 'wave9am[0]+'wave9am[1]+'wave9am[2]+'wave9am[3]+'wave9am[4];
//Wave 10 Mob Amounts total
'Wave10Total = 'wave10am[0]+'wave10am[1]+'wave10am[2]+'wave10am[3]+'wave10am[4];
//Wave 11 Mob amounts total
'Wave11Total = 'wave11am[0]+'wave11am[1]+'wave11am[2]+'wave11am[3]+'wave11am[4];
//Wave 11 Mob amounts total
'Wave12Total = 'wave12am[0]+'wave12am[1]+'wave12am[2]+'wave12am[3]+'wave12am[4];
//Wave 13 Mob amounts total
'Wave13Total = 'wave13am[0]+'wave13am[1]+'wave13am[2]+'wave13am[3]+'wave13am[4];
//Wave 14 Mob amounts total
'Wave14Total = 'wave14am[0]+'wave14am[1]+'wave14am[2]+'wave14am[3]+'wave14am[4];
//Wave 15 Mob amounts total
'Wave15Total = 'wave15am[0]+'wave15am[1]+'wave15am[2]+'wave15am[3]+'wave15am[4];
//Wave 16 Mob amounts total
'Wave16Total = 'wave16am[0]+'wave16am[1]+'wave16am[2]+'wave16am[3]+'wave16am[4];
//Wave 17 Mob amounts total
'Wave17Total = 'wave17am[0]+'wave17am[1]+'wave17am[2]+'wave17am[3]+'wave17am[4];
//Wave 18 Mob amounts total
'Wave18Total = 'wave18am[0]+'wave18am[1]+'wave18am[2]+'wave18am[3]+'wave18am[4];
//Wave 19 Mob amounts total
'Wave19Total = 'wave19am[0]+'wave19am[1]+'wave19am[2]+'wave19am[3]+'wave19am[4];
//Wave 20 Mob amounts total
'Wave20Total = 'wave20am[0]+'wave20am[1]+'wave20am[2]+'wave20am[3]+'wave20am[4];
//Wave 21 Mob amounts total
'Wave21Total = 'wave21am[0]+'wave21am[1]+'wave21am[2]+'wave21am[3]+'wave21am[4];
//Wave 22 Mob amounts total
'Wave22Total = 'wave22am[0]+'wave22am[1]+'wave22am[2]+'wave22am[3]+'wave22am[4];
//Wave 23 Mob amounts total
'Wave23Total = 'wave23am[0]+'wave23am[1]+'wave23am[2]+'wave23am[3]+'wave23am[4];
//Wave 24 Mob amounts total
'Wave24Total = 'wave24am[0]+'wave24am[1]+'wave24am[2]+'wave24am[3]+'wave24am[4];
//Wave 25 Mob amounts total
'Wave25Total = 'wave25am[0]+'wave25am[1]+'wave25am[2]+'wave25am[3]+'wave25am[4];
//Wave 26 Mob amounts total
'Wave26Total = 'wave26am[0]+'wave26am[1]+'wave26am[2]+'wave26am[3]+'wave26am[4];
//Wave 27 Mob amounts total
'Wave27Total = 'wave27am[0]+'wave27am[1]+'wave27am[2]+'wave27am[3]+'wave27am[4];
//Wave 28 Mob amounts total
'Wave28Total = 'wave28am[0]+'wave28am[1]+'wave28am[2]+'wave28am[3]+'wave28am[4];
//Wave 29 Mob amounts total
'Wave29Total = 'wave29am[0]+'wave29am[1]+'wave29am[2]+'wave29am[3]+'wave29am[4];
//Wave 30 Mob amounts total
'Wave30Total = 'wave30am[0];
'WaveMax = 'Wave1Total+'Wave2Total+'Wave3Total+'Wave4Total+'Wave5Total+'Wave6Total+'Wave7Total+'Wave8Total+'Wave9Total+'Wave10Total+'Wave11Total+'Wave12Total+'Wave13Total+'Wave14Total+'Wave15Total+'Wave16Total+'Wave17Total+'Wave18Total+'Wave19Total+'Wave20Total+'Wave21Total+'Wave22Total+'Wave23Total+'Wave24Total+'Wave25Total+'Wave26Total+'Wave27Total+'Wave28Total+'Wave29Total+'Wave30Total;