What you wrote was a little confusing, so let me make sure I understand correctly.
You have 6 stats that all start at 10, and you have 10 additional skill points you want to distribute to them. You say you want to, "keep those stats at 10 <="... Which only appears to make sense if that was supposed to mean that you keep the stats at >= 10.
If the base is always going to be 10, then you could just do something like this (using my example from the other question):
<<button "Subtract">>
<<if $str > 10>>
<<set $skp += 1>>
<<set $str -= 1>>
<<replace "#stats">><<include "Stats">><</replace>>
<</if>>
<</button>>
And to keep the skill points from going below zero you'd do:
<<button "Add">>
<<if $skp > 0>>
<<set $skp -= 1>>
<<set $str += 1>>
<<replace "#stats">><<include "Stats">><</replace>>
<</if>>
<</button>>
Hope that helps! :-)