Author Topic: <expression>  (Read 923 times)

jodybingo

  • Hero Member
  • *****
  • Posts: 656
    • View Profile
    • Personal Web Site
<expression>
« on: August 29, 2012, 12:55:10 PM »
How would I use the <expression> token to add Rebuys and Entries together? I tried a few combinations and am not successful

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: <expression>
« Reply #1 on: August 29, 2012, 01:50:42 PM »
<expression text="tnr + tna" format="number" precision="0">

That gives the sum of all rebuys and add-ons in the tournament.  If you're trying to display them for a particular player, it would be more like:

<expression text="nr + na" format="number" precision="0" player="put the player's first name, nickname, ID, or internal ID here">

jodybingo

  • Hero Member
  • *****
  • Posts: 656
    • View Profile
    • Personal Web Site
Re: <expression>
« Reply #2 on: August 29, 2012, 01:52:12 PM »
i forgot to add in the number of players as well to the formula

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: <expression>
« Reply #3 on: August 29, 2012, 02:36:27 PM »
Oh, I did rebuys and add-ons instead of rebuys and entries.  So your formula would be n + tnr.  Remember the expression is the same as a [Points for Playing] formula.