a problem with "splineselect" modificator

hello guys, I have a question:
there's no any help I could find about that: how to in a "splineselect" modificator I can make a "set" operation for selecting desired knots using a script I'm trying to compose?