Help with a command that counts elo in cs 2

Ok so in back csgo there where a command for nightbot that count that looked like this:

$(eval const o = $(urlfetch json https://wombot.fi/nightbot/elo/USERNAME?format=full); o.message || Level ${o.level} | ${o.elo} Elo | ${o.eloDiff > 0? "+" : ""}${o.eloDiff} today | ${o.recentMatches.filter(m=> m.teamId === m.i2).length} Wins | ${o.recentMatches.filter(m=> m.teamId !== m.i2).length} Losses ${(o.estWin && o.estLoss) ? | Est Win: +${o.estWin}, Est Loss: -${o.estLoss} : ""})

and the result would be:

Nightbot:

Level 3 | 1033 Elo | 0 today | 0 Wins | 0 Losses

but now here in cs 2 it wont work, because i have won 2 games today, and one yesterday witch would make the result.

Nightbot:

Level 5 | 1077 Elo | 46 today | 2 Wins | 0 Losses

but it doesnt update, can anyone help me pls, because it was a very good command.

with best regards LEG4CY_DK

I believe @Sunquist made it, maybe they can help.

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