Skip to main content

How to use expressions

Expressions in @MenuBuilderBot allow you to perform mathematical operations on Variables (represented by Macros) and constants (ordinary numbers). Expressions can be used in the text of messages, in buttons, Conditions and Actions.

The expression must be enclosed in curly braces:
{Expression}

Nested expressions are not supported. If the expression cannot be parsed, it is left as is.

Initially, Expressions are only available in bot's messages. To use expressions in buttons and Actions, they must be activated.

Macros and expressions in buttons.
To connect, go in your bot:
☞ 🔐Admin | 🧩Extensions | 📂Buttons

More details in the Expression Manual.