NightDev Community Forums

I need help with multiple counter command via the costum api.

So basically I followed a guide to let my youtube chat change commands as seen here.

!baal $(eval a=’$(urlfetch http://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=e)’;’ ') Baal has been pulled!

!addbaal Baal has been pulled $(eval ‘$(urlfetch http://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN)’.split(’.’).length-1) times so far!

But I have several other commands like this and they pull their number from the same urlfetch function.
So I need some help setting them apart: Thanks for your help in advance.

Have you considered using the $(count) variable which should work the same as that and not have the need to call an API

Does it work even if a non mod enters the command? I have tried and failed to execute this on another account.