#Slash Command variable?

1 messages · Page 1 of 1 (latest)

sweet fiber
#

Hello,
is it possible to create a slash command, e.g.
/Input %var1 %var2 %var3
Where the options depend on each variable?
If I enter at %var1 e.g. Hello that I have a specific selection only for %var2? In this case then just "How are you?" ? 🙂

%var1 [Hello, Bye]
%var2 [How are you?, Bye]

viscid kelp
#

Use autocomplete

sweet fiber
#

What if I have a whole list?

#

%var1 [1, 2]
%var2 [1, 2, 3, 4, 5]

To 1 belong 1, 2, 3, 4
To 2 belongs 5

verbal verge
#

Tue you still van Uwe autocomplete

#

Ist the smartest Option for lists

dull snow
#

Auto complete sends while typing the already selected options. So you can dynamically build it

sweet fiber
#

Can I box the whole thing?
That %var2 is dependent on %var1 and %var3 is dependent on %var2?

#

I would like to make it dependent as follows:

%var1 = ["A", "B"]
%var2 = ["Moon", "Earth", "Mars"]
%var3 = ["Jupiter", "Venus", "Sun"]

If I now select "A" in %var1, only %var2 should be displayed and %var3 should not be available at all.

But if I select "B" in %var1, both %var2 and %var3 should be available.

Is this possible?

#

/slash A ["Mond","Erde", "Mars"]
/slash B ["Mond","Erde", "Mars"] ["Jupiter","Venus","Sonne"]

viscid kelp
#

Are all the options required

#

If so then yes that's what I've been saying lol

sweet fiber
#

No I want to have 3 input fields
Field 1 is always active
If I use the option "A" in field 1, field 2 should be active, but field 3 should not be active afterwards.
If I use the option "B" in field 1, field 2 and then field 3 should become active.