I'm developing a (little bit complex) virtual instrument in Kontakt 6 and I'm facing the following challenge: 
I have 220 groups (timbres) repeated 4 times, so the user can create up to 4 layers with any of the 220 instruments; the groups are repeated this way: 0-219, 220-439, 440-659 and 660-879; so, section of groups will represent a layer which a conventioned to call TONE: Tone 1, Tone 2, Tone 3 and Tone 4.
I need to purge the groups which I do not want to play, and allow one group to any of the tones…
I need a syntax for KSP that can work to purge an interval of groups at once… what is the correct expression? For example, this one doesn't work: "purge_group (1 to 219)", if I intend to allow (unpurge) group 0…
I thank a lot for any help