|
Build Date |
|
Expression: |
build_date( year, month, day, hour, minute, second)
|
|
Description: |
Builds a date variable.
|
|
Return value: |
Date
|
|
Date Diff |
|
Expression: |
date_diff( date1, date2, units)
|
|
Description: |
Determines how long date 1 follows after date 2. Valid units: 'minutes', 'hours', 'days'
|
|
Return value: |
Integer
|
|
Format |
|
Expression: |
format( format_str, …. )
|
|
Description: |
Formats a string, inserting any number of values into the string. Use {1}, {2}, {3}, … to indicate where the value should be inserted.
|
|
Return value: |
String
|
|
Format Bool |
|
Expression: |
format_bool( value, format )
|
|
Description: |
Formats a boolean. Valid formats: 'check', 'yesno', 'yn'
|
|
Return value: |
Boolean
|
|
Format Date |
|
Expression: |
format_date( date, format )
|
|
Description: |
Formats a date. Valid formats: 'date', 'datetime', 'datetimes', 'datetimesm'
|
|
Return value: |
String
|
|
Format Money |
|
Expression: |
Format Money
|
|
Description: |
Formats a number into a money format.
|
|
Return value: |
String
|
|
Format Number |
|
Expression: |
format_number( value, decimals, commas, color )
|
|
Description: |
Formats a number with decimals, commas, and color.
|
|
Return value: |
String
|
|
If |
|
Expression: |
if( expr, then, else )
|
|
Description: |
Checks the Boolean value of an expression.
|
|
Return value: |
Then or Else depending on whether the expression is true or false
|
|
Lookup From Id |
|
Expression: |
lookup_from_id( id, lookup )
|
|
Description: |
Finds the value lookup for the given id. Valid lookups: 'blindsbb', 'blindsdesc',
'sitename', 'siteabbr', 'cardpair', 'card', 'card_rank', 'finalhand', 'month',
'tourneytabletype', 'tourneytype'
|
|
Return value: |
Variable Types
|
|
Lookup Handrank |
|
Expression: |
lookup_handrank( id_final_hand, showed, folded )
|
|
Description: |
Finds the name of the final hand, or if the player folded.
|
|
Return value: |
String
|
|
Lookup Limit BB |
|
Expression: |
lookup_limit_bb( id_limit )
|
|
Description: |
Finds the value of the BB for the limit.
|
|
Return value: |
Number
|
|
Lookup Limit Desc |
|
Expression: |
lookup_limit_desc( id_limit, info )
|
|
Description: |
Finds the description of the id_limit.
|
|
Return value: |
String
|
|
Lookup Limit Info |
|
Expression: |
lookup_limit_info( id_limit, info )
|
|
Description: |
Finds information about the limit. Valid info values: 'bb', 'sb', 'desc', 'nl', 'pl', 'sortval'
|
|
Return value: |
Variable Type
|
|
Lookup_Realminutes_Day |
|
Expression: |
lookup_realminutes_day( id_player, day, month, year )
|
|
Description: |
Finds the actual minutes played for the given player in the given day/month/year.
|
|
Return value: |
Number
|
|
Lookup Realminutes Limit |
|
Expression: |
lookup_realminutes_limit( id_player, id_limit )
|
|
Description: |
Finds the actual minutes played for the given player at the given limit.
|
|
Return value: |
Variable Type
|
|
Lookup Realminutes Day |
|
Expression: |
lookup_realminutes_day( id_player, day, month, year )
|
|
Description: |
Finds the actual minutes played for the given player in the given day/month/year.
|
|
Return value: |
Number
|
|
Lookup Realminutes Month |
|
Expression: |
lookup_realminutes_month( id_player, month, year )
|
|
Description: |
Finds the actual minutes played for the given player in the given month/year.
|
|
Return value: |
Number
|
|
Lookup Realminutes Player |
|
Expression: |
lookup_realminutes_player( id_player )
|
|
Description: |
lookup_realminutes_player( id_player )
|
|
Return value: |
Number
|
|
Max |
|
Expression: |
max( a, b )
|
|
Description: |
Finds the maximum of the two values a or b.
|
|
Return value: |
Maximum Value
|
|
Min |
|
Expression: |
min( a, b )
|
|
Description: |
Finds the minimum of the two values a or b.
|
|
Return value: |
Minimum Value
|