Hi,
I am searching for a special code to enforce users to a determined input style. But I don't know how do it in a good way.
I will explain it in a short way + example:
I have a variable $var. And I have a !input bind which sets that $var.
Example: !input test1 (sets $var = test1)
Example: !input blabla (sets $var = blabla)
But now I want to enforce the user to input a var like:
0.0x
0.5x
1.0x
1.5x
etc.
-> number.numberx <- Main Code
How can I check that Input now in a good technical way?
Please help!
Another help needed:
I got Input and $var again.
But now I want to enforce the user to an input like:
10DeCS
15DeCS
20DeCS
100DeCS
1000DeCS
etc.
-> numberDeCS <- Main Code
can anyone help me please?
Big thanks.