Custom Sub Counter Help

I want to create a command that shows how many subs there are, then calculates how many are needed to get to the sub goal. So far I have:

$(twitch subcount) people are currently subscribed. We need $(count) 100 - $(twitch subcount) to hit our goal!

I am wondering how to properly form this expression??
Thanks!!

I figured it out myself:

!addcom !subgoal $(twitch subcount) people are currently subscribed. To reach the subgoal we need $(eval 100 - $(twitch subcount)) more subs!!

Just need to edit the ‘100’ variable when the sub goal changes! If anyone has any better solutions please let me know!!

1 Like

That’s the best solution that I could think of, you could also use eval to make the goal dynamically update.

1 Like

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