Urlfetch with two sources

Hi i would like to create a command with two sources. how can i add a second to my first?

$(eval var test= “$(urlfetch json PASTEBINLIST) “.split(”#”); test[Math.floor(Math.random() * (test.length - 1))]:wink:

it should first random post a text from the first pastebin and then a random text from a second pasebin list

best regards

I have an alternative api that may suits for you to use. DM me so we can work this out together.

figured it out

$(eval var test= “$(urlfetch json PASTEBINLIST1) “.split(”#”); test[Math.floor(Math.random() * (test.length - 1))]:wink: $(eval var test= “$(urlfetch json PASTEBINLIST2) “.split(”#”); test[Math.floor(Math.random() * (test.length - 1))]:wink:

1 Like

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