hi to both MarkV and mcbee,
I will say that this post has helped me out significantly, so I thank you for that.
I accept that you would prefer me to use the MFP trigger editor, and this is always how I will START off, but once I have seen the ID's associated with each command, etc, I can then translate what I want into XML, which of course is the final format of the triggers. So, I will continue to use this approach.
My trigger is now quite large, although it is in the same format as that shown in your attached image. I have added OR blocks with AND conditions, which are effectively multiple sections of the below...
OR
Market's Name contains <variable_for_distance_1>
AND Market's Minutes since the Off is equal to or greater <variable_time_for_variable_for_distance_1>
AND Selection's Back Price is equal or less than r_ticks(bm_layp, -lossTicks)
OR
Market's Name contains <variable_for_distance_2>
AND Market's Minutes since the Off is equal to or greater <variable_time_for_variable_for_distance_2>
AND Selection's Back Price is equal or less than r_ticks(bm_layp, -lossTicks)
OR
3,
OR
4, etc, etc
I have tried this today, and it has done as expected, I included every single race distance from 5 furlongs to 32 furlongs, by increments of 1 furlong (5f, 6f, 7f, 1m, 1m1f, 1m2f, etc - and I think that will cover ALL, and probably some that don't exist.
mcbee, FYI, I do not think that there is anything wrong with the trigger you developed for me, BUT, for some reason, I cannot get it to work. I can tell you that the new trigger, which has been developed from both MarkV's help, and I stole some of the trigger code you wrote for me, and this is now in place, and on test, and it does indeed work with the selections list format I sent you. I do like to provide info in each of the lists which contains race time and course on one line, and then Horse name on the next line. I also use speech marks for a horse name which contains spaces, I think I got that info from here. MFP will ignore the time and course, because that is not a selection present in the days races. Of course, when I first started this, I used only a selection per line, without any other info, and then by accident, I named a horse wrong, and MFP didn't bet on it, which of course made me understand that any data MFP does not recognise, it will ignore, and so, in order to allow me to have more descriptive lists, I use as above, and it works fine.
Thanks again for all your help.
Mark.