You can use a Script operator, and check them using regular if/else conditions.
Example (snipped):
Example (snipped):
Code:
var id = tf.GetID(sInx);
if (id == 1 || id == 2 || (id >= 3 && id <= 20) || id == 30 ......etc etc)
{
//do work
}