Hey guys @Emily @Ritik_Ranjan, thank you for your responses to this post. As far as i,ve tested noone of the new commands work. I,ve spend hours testing to see if anything at all works but it doesnt… I decided to follow your instructions and make a pastebin without any quotations but the command turn into identifier missing or unexpected.
Resuming my many tests regarding this post, it goes as follows
I copied the commands that you guys gave and just replace the my pastebin, but unfortunately nothing is working…
My link with quotation marks: Unexpected template string
$(eval a=$(urlfetch json https://pastebin.com/raw/j4zpB2rM)
.split(,
); a.pop(); b=[]; for(i=0;i<6;i++){b.push(a.splice(Math.floor(Math.random()*a.length),1));} $(user) just found: ${b.join(
, ).
)
Then i removed the quotations as suggested, in this link: Unexpected template string
$(eval a=$(urlfetch json https://pastebin.com/raw/L4YJ7qJb)
.split(,
); a.pop(); b=[]; for(i=0;i<6;i++){b.push(a.splice(Math.floor(Math.random()*a.length),1));} $(user) just found: ${b.join(
, ).
)
Then i tested my luck with this: Unexpected identifier
$(eval a=$(urlfetch json https://pastebin.com/raw/p6euakP8)
.split(,
); a.pop(); b=[]; for(i=0;i<6;i++){b.push(a.splice(Math.floor(Math.random()*a.length),1));} $(user) just found: ${b.join(
, ).
)
Somewhat this gave a response but not any items and it made like a happy face?: : ).
$(eval a=$(urlfetch json https://pastebin.com/raw/j4zpB2rM)
.split(,
); a.pop(); b=[]; for(i=0;i<6;i++){b.push(a.splice(Math.floor(Math.random()*a.length),1));} $(user) just found: +b.join(
, ).
)
Then i tested the other response as follows…
I tested the first link with quotation marks: Unexpected token ‘,’
$(eval x =$(urlfetch json https://pastebin.com/raw/j4zpB2rM).split(,); x.pop(); t=[]; for(i=0;i<6;i++){t.push(x.splice(Math.floor(Math.random()*x.length),1));} "$(user) just found: " + t.join(’, ') + “.”)
And also when i tested the link without quotations marks: Unexpected token ‘,’
$(eval x =$(urlfetch json https://pastebin.com/raw/L4YJ7qJb).split(,); x.pop(); t=[]; for(i=0;i<6;i++){t.push(x.splice(Math.floor(Math.random()*x.length),1));} "$(user) just found: " + t.join(’, ') + “.”)
Finally i tested my links with my original command to see if maybe something was wrong with them and they work fine, except they dont return the multiple items…
$(user) just found $(eval var V = $(urlfetch json https://pastebin.com/raw/j4zpB2rM).split(“,”); V[Math.floor(Math.random() * (V.length ))]
$(user) just found $(eval var V = $(urlfetch json https://pastebin.com/raw/p6euakP8).split(,
); V[Math.floor(Math.random() * (V.length ))]
Anyways not sure why the new commands dont work…