Incoming message, Conditions?

As far as I can see there is no way to configure conditions on things, or did I miss something?

“IF midimessage, type of message, etc. xxx IS RECEIVED then do these things:” , “else” etc. ?

That would be quite useful, for example, check if there’s midiclock incoming on port x,y,z, and if there is do this, if not, do that etc. in this case to set priority on incoming clock in case there’s several clocks coming in on different inputs/midichannels etc.