output int based on input inlet

    Mar 11 2013 | 3:17 pm
    Is there an object anybody knows of, native or third-party, which takes a number of intlets as argument and outputs an int based on which inlet data arrived into? I have been making messages containing ints just to tag stuff more often than I'd like. I could do javascript, but that too seems a mite superfluous
    Many thanks in advance