Hey Emily,
Thanks for answering, I can't seem to do it right tho
This is the code I used before
$(eval a=$(urlfetch json https://twitch.center/customapi/quote/list?token=?????&no_id=1).split(~);a.unshift(0);The counter value is ${a.reduce((b,c)=>b+parseInt(c)||b)}/30.069 kills. Next Milestone = 15.000 kills)
This is the code after your reply
$(eval a=$(urlfetch json https://twitch.center/customapi/quote/list?token=?????&no_id=1).split(~);a.unshift(0);The counter value is ${a.reduce((b,c)=>b+parseInt(c)||b) t=30069; c=a.reduce((x,y)=>x+parseInt(y)||x); p=c*100/t;} (${p}%) Next Milestone = 15.000 kills)
Hope you can see where I made the mistake.
Thanks for the help