Pages:
Actions
  • #1 by Kevin Smith on 29 Jul 2018
  • Hi,

    I'm trying to work out how to create a greyhounds trigger to place a bet on the selection that won the previous race. By this i mean the latest settled race, not necessarily the previous race at the same track.
    I've seen posts that say to use pw_1_sel_index to show the winner of the previous race but this often seems to be zero when i use it on greyhound races.
    Would you please let me know how i can look to the latest settled / finished greyhound market and use the index of the winner as my selection, or is this something you could create a trigger for me?

    cheers
  • #2 by Oxa (WellDoneSoft) on 29 Jul 2018
  • Hello!

    pw_1_sel_index will be non-zero after the previous race has been settled, provided that you did not delete that market.

    If you are looking to bet on a trap number (rather than a particular selection, i.e. an actual dog) that won the previous race, then you can use that variable to choose the right runner:

    Selection's Index is equal to pw_1_sel_index
    and Previous Event's Status is Settled


    It looks fairly straightforward, so you can create the trigger on your own, but in case you want us to provide a ready trigger file, please make a trigger request here:

    Make me a trigger
Pages:
Actions