Help me in append 2 strings

Hi this is my command

http://xyz.com/s/process.php?$(eval a="$(urlfetch json https://pastebin.com/raw/tPmpGrNz)".split(",");a[Math.floor(Math.random()*a.length)])=$(userid)

Raw file content : ch42 a42,ch43 a43,ch44 a44,ch45 a45

It only generates : http ://xyz. com/s/process. php?ch42[b]UCe2_dP-rYr_lvs58v0VHXHA

I also want to append that [b]a42[/] string after users channel id.

Raw file content : ch42 a42,ch43 a43,ch44 a44,ch45 a45

I want to make url like : http ://xyz. com/s/process. php?ch42UCe2_dP-rYr_lvs58v0VHXHAa42

Nightbot allow limited characters to make commands
Please help.

Note : i put space
Bc new users not allowed to post more than 2 links.

@xloss

http://xyz.com/s/process.php?$(eval a=`$(urlfetch json https://pastebin.com/raw/tPmpGrNz)`.split(`,`);b=a[Math.floor(Math.random()*a.length)].split(` `);`${b[0]}$(userid)${b[1]}`)
1 Like

Thank you so much <3 love you

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