The Tournament Director Forums

Main => Help Me => Topic started by: jodybingo on August 29, 2012, 12:55:10 PM

Title: <expression>
Post by: jodybingo 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
Title: Re: <expression>
Post by: Corey Cooper 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">
Title: Re: <expression>
Post by: jodybingo on August 29, 2012, 01:52:12 PM
i forgot to add in the number of players as well to the formula
Title: Re: <expression>
Post by: Corey Cooper 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.