I have got two math counters in my map. One is counting BLU score and the other RED score. I also have a round timer entity, and I want to use it, so that when the timer will end, the two math_counter's values will be compared. I thought of using a logic_compare to do that, but it seems like it can only compare "real" numbers, and not variables, like the ones in the math_counters. How can I compare two variables in source?

The logic_compare entity has several inputs. And math_counter has some outputs. I think you get what I am saying here.

blue counter (outvalue) > compare (setvalue) red counter (outvalue) > compare (setcomparevalue) timer (onfinished) > compare (compare) compare (onless/greater/whateverthan) > doThings