BotWiz Documentation
DashboardSupport ServerResources
BotWiz Documentation
BotWiz Documentation
  • Welcome to BotWiz!
  • Support Server
  • Dashboard
    • Get Started
    • Settings
    • BotWiz Guides
  • Creations
    • Commands
      • Builder
    • Events
      • List of Discord Events
    • Variables
      • Interaction & Default Variables
      • Custom Variables
        • Bot Variables
      • Unique Variables
      • Function Variables
      • Advanced Variables
      • Event Variables
  • Misc
    • Debugging
    • Exports
  • Blocks
    • Actions
      • Message Actions
        • Modal / Form
        • Send & Edit a Message
        • Delete & Pin a Message
        • Start & End Poll
      • Role Actions
        • Removing & Adding a Role to Everyone
        • Edit a Role
      • Channel Actions
        • Create Channel
        • Edit Channel
        • Delete Channel
        • Purge Messages
      • Member Actions
        • Ban Member
        • Kick Member
        • Member Nickname
        • Timeout Member
        • Unban Member
      • Variable Actions
        • Calculate Variable
        • Delete Variable
        • Set Variable
      • Action Blocks
        • API
        • Create & Delete an Auto Mod Rule
        • Timed & Custom Event
    • Conditions
    • Options
Powered by GitBook
On this page

Was this helpful?

  1. Blocks
  2. Actions
  3. Variable Actions

Calculate Variable

Run a equation on a variable

PreviousVariable ActionsNextDelete Variable

Last updated 1 year ago

Was this helpful?

Variable

Select the variable to run a equation on from the dropdown, if none appears you need to make a variable in Interaction & Default Variables

Round

The option to round the variable off to the nearest whole number.

Equation

This is the part where you are going to run the math equation for on the variable, must be a number variable to run the equation on. Use "variable + 4" for instance. Do not reference the variable but use the word "variable".