Just set material.skill1 = value;, or set it in the material definition (both in cscript). Change the float4 to a float (it's a single value), and try 'mtlskill1' instead of 'mtlSkill1' (capital letters) if it still doesn't work (not sure which one it is, but it doesn't work if you use the wrong one).