Setting up multiple "ToUser"s or Arguments for a !squad command

Asked May 24, 2021·2 replies·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I am trying to set up a !squad command to show people I am playing with.

I have a !setsquad command set up to set the current people I am playing with: !commands add !setsquad -ul=mod -a=!commands edit !squad Playing with $(1) $(2) $(3) $(4)!

This works but if I don't fill the arguments they show up as "null."

Playing with tameeron null null null!

Is there a better way to set this up or to get the arguments to appear blank when nothing is added?

2 replies

I actually found a slight work around but just filling it with periods or other symbols but still curious if anyone has a better way to set up this command as I couldn't really find anything anywhere else.

Tangy Giraffe said:
!commands add !setsquad -ul=mod -a=!commands edit !squad Playing with $(1) $(2) $(3) $(4)!

Have you tried replacing $(1) $(2) $(3) $(4) with a single $(query)?

You can still type as many names as you need followed by spaces.