I'm trying to write a query to get the frequency of bad beats vs how often I give my opponent a bad beat. For that, I need to count situations when for example, I have a flush and my opponent has a straight. How would I access my opponent's hand value at showdown in HMQL?
Also, a more general question: could you point me to some useful HMQL resources?