Tagging people in a command

So i got a shout out command for my twitch stream.
I set it to: !so user
and it gives the following msg:
Go check out $(touser) on https://www.twitch.tv/$(touser) ! They just played $(twitch game $(touser))

My question is if there is a way i can use the @user in the command line so it will auto fill the name, but it wont be seen in the msg line or at least not get in the way of the link.

Would really love some insight on the topic

@croompy

Use $(eval) to remove @ in the user input.

$(twitch $(eval decodeURIComponent(`$(querystring)`).split(` `)[0].replace(/@/g,``)||`$(user)`) "Go check out {{displayName}} on {{url}} ! They just played {{game}}.")

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