@lumiastream/lumia-types 2.8.6 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -795,6 +795,8 @@ export declare enum SystemVariables {
795
795
  RANDOM = "random",
796
796
  /** Pick a random item from a comma list. Example: {{random_input=a,b,c}}. Use as {{random_input}}. */
797
797
  RANDOM_INPUT = "random_input",
798
+ /** Evaluate a math expression. Example: {{math={{var1}}+{{var2}}}}. Use as {{math}}. */
799
+ MATH = "math",
798
800
  /** Sum multiple variables. Example: {{sum_variables=twitch_total_follower_count,kick_total_follower_count}}. Use as {{sum_variables}}. */
799
801
  SUM_VARIABLES = "sum_variables",
800
802
  /** Offset a variable by a number. Example: {{offset_count=twitch_total_follower_count,10}}. Use as {{offset_count}}. */
@@ -795,6 +795,8 @@ export declare enum SystemVariables {
795
795
  RANDOM = "random",
796
796
  /** Pick a random item from a comma list. Example: {{random_input=a,b,c}}. Use as {{random_input}}. */
797
797
  RANDOM_INPUT = "random_input",
798
+ /** Evaluate a math expression. Example: {{math={{var1}}+{{var2}}}}. Use as {{math}}. */
799
+ MATH = "math",
798
800
  /** Sum multiple variables. Example: {{sum_variables=twitch_total_follower_count,kick_total_follower_count}}. Use as {{sum_variables}}. */
799
801
  SUM_VARIABLES = "sum_variables",
800
802
  /** Offset a variable by a number. Example: {{offset_count=twitch_total_follower_count,10}}. Use as {{offset_count}}. */
@@ -9,6 +9,8 @@ export declare enum SystemVariables {
9
9
  RANDOM = "random",
10
10
  /** Pick a random item from a comma list. Example: {{random_input=a,b,c}}. Use as {{random_input}}. */
11
11
  RANDOM_INPUT = "random_input",
12
+ /** Evaluate a math expression. Example: {{math={{var1}}+{{var2}}}}. Use as {{math}}. */
13
+ MATH = "math",
12
14
  /** Sum multiple variables. Example: {{sum_variables=twitch_total_follower_count,kick_total_follower_count}}. Use as {{sum_variables}}. */
13
15
  SUM_VARIABLES = "sum_variables",
14
16
  /** Offset a variable by a number. Example: {{offset_count=twitch_total_follower_count,10}}. Use as {{offset_count}}. */
@@ -16,6 +16,8 @@ var SystemVariables;
16
16
  SystemVariables["RANDOM"] = "random";
17
17
  /** Pick a random item from a comma list. Example: {{random_input=a,b,c}}. Use as {{random_input}}. */
18
18
  SystemVariables["RANDOM_INPUT"] = "random_input";
19
+ /** Evaluate a math expression. Example: {{math={{var1}}+{{var2}}}}. Use as {{math}}. */
20
+ SystemVariables["MATH"] = "math";
19
21
  /** Sum multiple variables. Example: {{sum_variables=twitch_total_follower_count,kick_total_follower_count}}. Use as {{sum_variables}}. */
20
22
  SystemVariables["SUM_VARIABLES"] = "sum_variables";
21
23
  /** Offset a variable by a number. Example: {{offset_count=twitch_total_follower_count,10}}. Use as {{offset_count}}. */
@@ -777,6 +779,7 @@ exports.AllVariables = {
777
779
  'selection',
778
780
  'random',
779
781
  'random_input',
782
+ 'math',
780
783
  'sum_variables',
781
784
  'offset_count',
782
785
  'get_commands',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "2.8.6",
3
+ "version": "2.9.0",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [