@Rhuan At a quick glance your code uses slice() when it should use substr(). Maybe that's the problem?
var to_convert = GetFileList("spritesets");var temp;for(var i = 0, j = 0; i < to_convert.length; ++i){ if(to_convert[i].slice(to_convert[i].length-4)==".rss") { temp = LoadSpriteset(to_convert[i]); for (j = 0; j < temp.directions.length; ++j) { temp.directions[j].name = temp.directions[j].name.toLowerCase(); } temp.save("../other/" + to_convert[i]); }}