Author Topic: Language to program triggers  (Read 6726 times)

Tags:
  • All members
  • Posts: 20
Language to program triggers
« on: 14 Feb 2011, 10:06 »
Hi,

I think it would be a great idea to implement a script language to program triggers.

The graphic interface is powerful, but I think it's not possible (or at least can be difficult) to do complex triggers. Also if you have a lot of triggers you will be lost among them.

So I think it would be a great idea if you implement a script language to make triggers, something like:

If difference(current_round.favourite.back_price, current_round.second_favourite.back_price) > 2 and (previous_round.favourite.hand <> current_round.favourite.hand) and (current.favourite.back_price < 2) Then
 ....

Else

 ....

End If

Even you could define your own functions:

Function Strategy_1
Begin
 ...

 If (current.continuous_lost_games > 3) then
  Call Strategy_2
 End If
End

Function Strategy_2
Begin

 If (current.continuous_lost_games > 3) then
  Call Strategy_3
 End If

End

...

Regards.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: Language to program triggers
« Reply #1 on: 14 Feb 2011, 12:04 »
The main idea we made it the way it's done is that the majority can't write programs so it's difficult to them to write a script. If you a programmer you can make your own MF pro. By the way you can write a VB script in Excel connected to MF pro.
But you are right and may be it's an idea for another our project ;-)
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

 

Please note, BetFair is seems to be currently OFFLINE