Hello guys, I am new to this and so I need help.
Is there any way to use the same command but with different variables?
For example :
!commands add !example(x) $(x - 10)
Whereas x is the number viewers choose.
Thank you regardless.
Math with variables
1 reply
Hiya, this sure is possible, check the docs to see the available variables to use: https://docs.nightbot.tv/commands/variableslist
For your example, you could use something like this:!commands add !example $(eval '$(1)' - 10)