Sub-Goal Count?!

Asked Jul 13, 2020·3 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

help with this subcount goal 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 streamers goal is 500 subs

For now this is what i have:

$(channel) is $(eval , # - $(twitch $(channel) "{{subscriberCount}}") - 1) subs away

Update: came across this math api but still don't know how to execute it

$(urlfetch http://twitch.center/customapi/math?expr=$(querystring))

http://twitch.center/customapi/math?expr=24-$ #(twitch $(channel) “{{subscriberCount}}”)) subs away

3 replies

Here's a subcount command

$(channel) is $(eval a=501-(parseInt(`$(twitch subcount)`)||0);a>0?a:0) subs away.

THANK YOU! ROKETTO

May ask why is says 501?

The streamer counts as an extra sub.