Current Score – v5.4 and a proper guide
A few years back I posted a BAF that works out the live football score from within Guardian. Betfair's API doesn't give you the score, so this one infers it from the Correct Score market – as goals go in, certain scorelines become impossible and their lay odds either vanish or shoot off to 990+, so by looking at which selections are still live you can work out where the match is.
The original thread is here:
viewtopic.php?t=27973
It's been extended a fair bit since then. As well as the scoreline itself, it now gives you the match minute, which half you're in, and the score as a Betfair selection ID, which is a lot easier to condition on than text. All of them are Event stored values, so you can read them from any market in the event and from your other automation files.
Current version is v5.4, attached below along with a written guide covering setup, the stored values, a couple of worked examples and the things to watch out for (low liquidity and VAR being the main two).
As always, run it in practice mode first. Let me know if you hit any problems.
Guide
https://tinyurl.com/Scoresibur
