The Neconyan handbook
Your guides Miso, Taro & Nori
Choose each guide's gender to change their artwork and pronouns. Your choices stay in this browser, separately from the app.
Maths¶
These Macro Enhanced macros calculate numbers before the prompt reaches the model. Use a decimal point and omit thousands separators from individual numbers.
Browser prompts only. These macros only run in the browser. Ordinary Roleplay replies build their prompts there, so they work. Conversation replies, Deep Swipe and replies with a selected Notebook context build their prompts on the server and stop before the model request if one is used. Test them in the Macro Enhanced Playground, and see Macro Enhanced in Roleplay prompts for the full list.
calc handles an expression. The smaller helpers suit a single operation, such as keeping a value between 0 and 100. List helpers accept comma-separated values by default.
avg¶
Averages the numbers in a list. Non-numeric items are skipped with a warning.
Result: 4.
Arguments and other names
- list: The numbers to average.
- separator: Optional. The list separator. Default:
,. - Other accepted names:
me-avg.
calc¶
Computes an arithmetic expression. Supports + - * / % ^, parentheses, min, max, round, floor, ceil, abs, sqrt, pow, pi and e.
Result: 14 in the first example.
Arguments and other names
- expression: The expression to compute, e.g. '2 * (3 + 4)'.
- Other accepted names:
math,me-calc.
More examples:
ceil¶
Rounds a number up to a whole number.
Result: 4.
Arguments and other names
- value: The number to round.
- Other accepted names:
me-ceil.
clamp¶
Limits a number to a range.
Result: 100.
Arguments and other names
- value: The number to clamp.
- min: Lowest allowed value.
- max: Highest allowed value.
- Other accepted names:
me-clamp.
floor¶
Rounds a number down to a whole number.
Result: 3.
Arguments and other names
- value: The number to round.
- Other accepted names:
me-floor.
listmax¶
The largest value in a list (numeric when possible).
Result: 11.
Arguments and other names
- list: The values to compare.
- separator: Optional. The list separator. Default:
,. - Other accepted names:
me-listmax.
listmin¶
The smallest value in a list (numeric when possible).
Result: 3.
Arguments and other names
- list: The values to compare.
- separator: Optional. The list separator. Default:
,. - Other accepted names:
me-listmin.
max¶
The larger of two numbers. For a whole list, use {{listmax}}.
Result: 8.
Arguments and other names
- a: The first number.
- b: The second number.
- Other accepted names:
me-max.
min¶
The smaller of two numbers. For a whole list, use {{listmin}}.
Result: 3.
Arguments and other names
- a: The first number.
- b: The second number.
- Other accepted names:
me-min.
mod¶
The remainder after dividing one number by another.
Result: 2.
Arguments and other names
- value: The number to divide.
- divisor: What to divide by.
- Other accepted names:
me-mod.
round¶
Rounds a number to the given number of decimal places.
Result: 3.14.
Arguments and other names
- value: The number to round.
- decimals: Optional. Decimal places to keep. Default:
0. - Other accepted names:
me-round.
sum¶
Adds up the numbers in a list. Non-numeric items are skipped with a warning.
Result: 12.
Arguments and other names
- list: The numbers to add.
- separator: Optional. The list separator. Default:
,. - Other accepted names:
me-sum.