setarray <gamearray>[<index>] <gamevar>
Sets <gamevar> to the value of <index> in <gamearray>. This is the only way to modify a gamearray.