Pages:
Actions
  • #1 by Alden on 14 Feb 2011
  • 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.
  • #2 by Tim (WellDoneSoft) on 14 Feb 2011
  • 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 ;-)
Pages:
Actions