Custom Command Step Types

Custom Command Step Types

Step TypeSummary
Send MessageReply, post to a channel, or DM the user (embed optional)
Modify CurrencyAdd, remove, or set a user's wallet, bank, or crystals
Modify ItemsGive, take, or set items in a user's inventory
Modify HPAdjust or restore a user's health
Modify RolesAdd, remove, or toggle a role (optionally temporary)
Modify StatTemporarily boost or reduce a user's multiplier, luck, or cooldown
Modify StatusJail, hospitalize (coma), or send a user on vacation (or clear a status)
Modify XPAdd, subtract, or set a user's XP or level
VariableSet, increment, decrement, append, or remove from a variable
ComputeCalculate a number from an expression and save it as a variable
Read FieldCopy a value (like a user stat) into a variable
Resolve EntityLook up a user, channel, or role and save it as a variable
Wait for InputPause and wait for the user to click a button or make a select choice
If / BranchRun different steps depending on a condition
RequireStop the command unless a condition is met, optionally running fallback steps
RandomRun one of several branches, picked by weight
StopEnd the command run early
Edit MessageReplace the content or embed of a message this command already sent
Delete MessageDelete a message this command already sent
LoopRepeat a set of steps while a condition holds, up to a maximum number of iterations
SwitchMatch a value against several cases and run the first one that matches
Show ModalPop up a form for the user to fill in
Wait for Modal SubmitPause and capture the values from a form shown by Show Modal

Did this page help you?