$(touser) variable auto-drop the @ sign

Is there any way of using $(touser) in a command or similar variable to input a users name while dropping the @ sign in front of the name. I know I can just type it without the @ but would rather be able to autofill the name to minimize typos. Hoping to use this in a shoutout command and make it a bit easier.

Hiya, yes replace $(touser) in your command with $(eval `$(touser)`.replace(/@/g,"")) this will remove the @ (if there is any).

1 Like

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