for (var i=j;i<=k;i++){
$gameVariables.setValue(i,v);}