Need help with a count/eval command

I want to make a command in which I can use $(count) three times but it counts only one.
Example:
We have $(count) subs! There are $(eval 19 - $(count)) for our first goal and $(eval 47 - $(count)) for the big contest. Pls suscribe.

I mean this works for what I want, but every time add 3, 'cause I use $(count) 3 three times, I need only one add each time.

Hiya, yeah you can store the $count value as variable inside the $eval, so it will only add one. Something like this:

$(eval var c = `$(count)`; `We have ${c} subs! There are ${19-c} for our first goal and ${47-c} for the big contest. Pls suscribe.`)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.