TagScript icon indicating copy to clipboard operation
TagScript copied to clipboard

With Carl-bot, having separator symbol in the username/nickname causes issues

Open Soitora opened this issue 4 years ago • 0 comments

Okay so, regarding the TagScript in Carl-bot, I noticed an issue with a members nickname/username, I used this small to test it myself

{break({args}==):Mention 1 or 2 users.}
{if({args(2+)}!=):**{1}** and **{2}**|**{user}**}

If user akei.ai | Subtype.Love | 1,0 is mentioned in this command solo it will error out since it will read the | in the username literally as a separator for the if argument. It doesn't seem to sanitise it

Excuse me if this is not the right place but it seemed to be, the rules prohibit from pinging anyone on the help server too so my message just got burried.

Soitora avatar Apr 05 '21 09:04 Soitora