Command stopped working

Asked May 4, 2024·4 replies·Last activity 2 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.

Hi so before Valorant updated, these commands would work, then suddenly stopped working yesterday and then worked after some time yesterday, now today both commands aren't working.. I attached the screenshot, maybe you guys can provide help on how to fix them

Screenshot_2024-05-04_172620.png

4 replies

can you provide the custom command that you are using?

Sure! here's the both of them: $(urlfetch https://api.kyroskoh.xyz/valorant/v1/mmr/eu/mbuee/mbuee?display=0) ............... $(eval m='$(urlfetch json https://api.henrikdev.xyz/valorant/v1/lifetime/mmr-history/eu/mbue/mbue?size=15)';r=JSON.parse(m);m=0;w=0;l=0;c=new Date();for(i=0;r.data.length;i++){d=Math.abs(c-new Date(r.data[i].date));p=r.data[i].last_mmr_change;if(d>86400000){break;}p>0?w+=1:l+=1;m+=p;}mbue is ${m>0?"UP":"DOWN"} ${m}RR. He's ${w}-${l} in the last 24hrs.;) they were working perfectly until recently

Here is the fixed code for the second one, the first API might be down is why its not working?

$(eval m='$(urlfetch json https://api.henrikdev.xyz/valorant/v1/lifetime/mmr-history/eu/mbue/mbue?size=15)';r=JSON.parse(m);m=0;w=0;l=0;c=new Date();for(i=0;r.data.length;i++){d=Math.abs(c-new Date(r.data[i].date));p=r.data[i].last_mmr_change;if(d>86400000){break;}p>0?w+=1:l+=1;m+=p;};`mbue is ${m>0?"UP":"DOWN"} ${m}RR. He's ${w}-${l} in the last 24hrs.`;)

Thank you so much for the help! If you come across a solution for the first one, let me know, please!