Using @ in a twitch command helps to autofill names… but when you use it with $(touser) it will break a url, like so:
Go check out $(touser) at twitch.tv/$(touser)!
Go check out @AquaJew at twitch.tv/@AquaJew !
Is there a way to fix this?
You can use
$(eval) for something like this, try this command,
!commands add !so Go check out $(eval "$(touser)".split("@").pop();) at twitch.tv/$(eval "$(touser)".split("@").pop();)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.