Is there a command I can make that will show me the old usernames of people
I copied this from an old command
“$(eval (() => { let api = $(urlfetch json https://twitch-tools.rootonline.de/username_changelogs_search.php?format=json&q=$(querystring)); if (api.length === 0) { return User Not Found
; } let output = []; for (let i = api.length-1; i >= 0; i–) { let { username_old, username_new } = api[i]; if (i === api.length - 1) output.push(username_old); output.push(username_new); } return ‘User Name Update: ’ + output.join(’ -> ') })();)”
But I get Right-hand side of ‘instanceof’ is not an object as a response. Need help
Hmm from what post is that piece of code? I think it should work fine.
Otherwise here’s a similar piece of code, that I just tested:
$(eval (() => {
let api = $(urlfetch json https://twitch-tools.rootonline.de/username_changelogs_search.php?format=json&q=$(querystring));
if (api.length === 0) {
return 'User Not Found';
}
let user = api[api.length-1];
return 'User Name Update: '+ user.username_old +' -> '+ user.username_new;
})())
I figured out the issue thank you for the response
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.