How can I do a command that. when a user uses it, if he uses @touser it appears but if not the bot put a ramdom user

I tried to do something like that but it doesn’t work for me

(eval var u="$(touser)";if("$(user)"==u){var u="$(urlfetch https://decapi.me/twitch/random_user/

Try with this, it should work:
$(eval let a="$(query)"; if(!"$(query)"){"$(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))"}else{"$(query)"}})

The only thing is I used the Query of the messsage not the ToUser but it works.

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