Can anyone tell me why this is not working?
!editcom !test $(eval let _s='$(query)';let url='https://pastebin.com/raw/7bmmWkpG'; $(urlfetch url))
I get unexpected identifier all the time
Thanks but I'm trying to do this
!ac !test $(eval let _u='$(user)';let cmds=($(urlfetch json https://pastebin.com/raw/GBnicTfi));let _q='$(query)'.replace(' ','ð—”§').split('ð—”§');let _s=_q[1]; $(urlfetch cmds[_q[0]]))
The pastebin
https://pastebin.com/raw/GBnicTfi
I was thinking it will work like this -->
!test reverse hi
1 - _q='$(query)'.replace(' ','ð—”§').split('ð—”§') will split the user input into two parts
2 - cmds[_q[0]] will look for the property in cmds and return its value which is a link
3 - then urlfetch will fetch the url which contains javascript and $(eval ...) will evaluate the script
And same for other
Didn't find your answer? The community is on Discord.
Ask on Discord