Overview
This tool helps you build complex {solve_equation[...]} variables for BotGhost.
Type your math logic directly into the editor, or use the toolbar buttons.
⚡ Pro Tip: Highlight a number in the editor (e.g., "10.5") and click a function button (e.g., "floor") to automatically wrap it: floor(10.5).
Supported Functions
Rounds down to nearest integer
Rounds up to nearest integer
Rounds to nearest integer
Absolute (positive) value
Smallest value in a list
Largest value in a list
Square root of x
Calculates base raised to the power of exponent (e.g., pow(2, 3) = 8)
Removes decimal part without rounding (e.g., trunc(-1.9) = -1)
Returns 1 if positive, -1 if negative, or 0 if zero
Returns a random decimal number between 0 (inclusive) and 1 (exclusive)