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