Add +1 to an URLfetch api

So i have this url., which gives my yt sub count. I want to add 1 to it. For example if it said 21, I would want it to say 22. This is not my API, so I have no control over it. I want to put that number (ex. 22) in my NightBot command.

this should do the trick…

$(eval a=$(urlfetch;a++;a)
1 Like
$(eval a=$(urlfetch;a++;a)

y did u write the same thing i did? XD

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