Maybe I am not getting it, but in the original post I don't see why it is using ssget "x" if you intend to pass points to it.
And in the perhaps overdone listing of points, I think you would need to add quotes of the 0 and 8 group codes.
For myself, in similar situation I like to use ssget "cp" , but I have to use a zoom command to get the selection set process to behave.