Make nightbot doesn't chat a return urlfetch

Asked Sep 8, 2020·6 replies·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I have this command: $(eval u='$(urlfetch link)'; ) $(touser) foi avisado por $(user)

and its a return urlfetch, so nightbot chat in my stream, but i want it doesn't happend. I want nightbot just write the not eval text.
Someone could help?

6 replies

Hey @Wiry Squid!

This is how to do it:

$(eval u=`$(urlfetch link)`; `$(touser) foi avisado por $(user)`)

the link contains $(querystring), so, when i write this way the argument just turn into a string instead really the argument

I'm sorry, I'm not sure I understand what you want anymore.

This should work as intended if what I understood by reading your first post is what you want:

$(eval u=`$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(querystring))`; `$(touser) foi avisado por $(user)`)

If you want something else, try to explain it better, please.

I understand that English isn't your first language, same for me, so don't worry, mistakes are fine. Just take the time to explain what you want. Include examples if it makes it easier to understand.
In case you really can't explain it in English, use your native language. I'll use Google Translate to try to understand, so in that case make sure you write properly in your language, this includes punctuation.

Obrigado pela compreensão, eu tinha colocado as aspas em vez de acento grave. Mas realmente funcionou, obrigado

Didn't find your answer? The community is on Discord.

Ask on Discord