var faceName = 'M_Hero_Faces_' + $gameVariables.value(19); \\variable 19 is the group name for the file.
var walkName = 'M_Walk_' + $gameVariables.value(19);
var battleName = 'M_'+$gameVariables.value(15)+'_'+$gameVariables.value(17)+'_'+gameVariables.value(16)+'_'+$gameVariables.value(18);
\\variable 15 is the hair color, 17, the clothing color, 16 the eye color, and 18, the skin color
$gameActors.actor(1).setCharacterImage(faceName, $gameVariables.value(14));
$gameActors.actor(1).setFaceImage(walkName, $gameVariables.value(14));
$gameActors.actor(1).setBattlerImage(battleName);
$gamePlayer.refresh();