Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by socito » Mon Feb 24, 2020 5:31 am
I want to mark with colour won and lost pots but I don't know how concatenate the line.
- Attachments
-
-
socito
-
- Posts: 93
- Joined: Fri Jan 24, 2014 3:25 am
by Flag_Hippo » Tue Feb 25, 2020 7:30 am
If you only want two row colors for
amt_won then you just need one line:
- Code: Select all
if(amt_won>=0, rgb(255,255,255), rgb(255,0,0))
If you want something more complex you can nest the IFs e.g.
if (x, y, if(a,b,c))
-
Flag_Hippo
- Moderator
-
- Posts: 14441
- Joined: Tue Jan 31, 2012 7:50 am
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 38 guests