Page 1 of 1

Linebreak for stat

PostPosted: Sat Mar 14, 2009 5:04 pm
by Messaa
I have create a read-based stat which is defined as below,

if(cnt_limp_raise > 0, format('Limped and then raised preflop {1} times.\n', format_number(cnt_limp_raise, 0, false, false)), '')

where cnt_limp_raise counts the number of times a player has limp-reraised.

However, my problem is that I would be really nice to have a linebreak after this stat (but only if the stat is actually displayed in the HUD, i.e. if cnt_limp_raise > 0). This what I have tried to indicate with \n in the stat definition.

How can I make a linebreak in the stat?

Re: Linebreak for stat

PostPosted: Sat Mar 14, 2009 7:04 pm
by WhiteRider
I'm not sure you can.
If you put this stat on its own row with a 'New line' special stat before and after it you won't get a blank line if the stat is 'missing'.