Author Topic: End of buy ins and re buys at break 1  (Read 172 times)

mtnvalleylover

  • Newbie
  • *
  • Posts: 2
    • View Profile
End of buy ins and re buys at break 1
« on: May 13, 2018, 07:27:53 PM »
Would like and announcement to play at the beginning of the first break however not play at other breaks.

Currently it plays at all breaks.

This is what I have in place, and it plays at every break.

isbreak=1

Thanks for the help.

efdenny

  • Full Member
  • ***
  • Posts: 138
    • View Profile
Re: End of buy ins and re buys at break 1
« Reply #1 on: May 13, 2018, 10:40:38 PM »
Try this instead:

breakNum=1

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5625
    • View Profile
Re: End of buy ins and re buys at break 1
« Reply #2 on: May 14, 2018, 09:14:21 AM »
efdenny is correct.

isbreak is a technically a boolean (true or false), but its actual value will be 1 or 0 which is functionally the same thing.  It's a 1 whenever the tournament is on a break, 0 otherwise.  So it "isbreak=1" will be true during any break.

Actually, you want to combine the two, because breakNum will be 1 once the tournament enters the first break, but if I recall correctly, it will remain 1 until the 2nd break.  For example, if there are 3 rounds between break 1 and two, breakNum will still have a value of 1 during those rounds.  So you want to do something like:

isBreak and breakNum=1

mtnvalleylover

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: End of buy ins and re buys at break 1
« Reply #3 on: May 14, 2018, 10:08:57 PM »
Thanks

I will give that a try.