3 variants of the command

I’ve got a command :

!addcom what $(eval decodeURIComponent($(querystring)).toLowerCase()==is this game??This game is: ... : )

i would like it so there will be variants as “What is this game”, “What is this game?” and “What is this game ?” , (question marks) , i’ve tried to do it, with or , || , else , and other but nothing works. Rn it’s working only if someone write “What is this game?”

Hey @theelderok!

Use .includes() instead of an equality test:

!addcom what $(eval decodeURIComponent(`$(querystring)`).toLowerCase().includes(`is this game`)?`This game is: ...`:` `)

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