Hello, I've been looking through the forums and tutorials for this but I can't find the answer anywhere.
Something like this is what I would like to be able to use together with other substring events:
-abc-def-it10
How can you get the value 10 from the example I give above? This trigger won't work as it can only take the input from the 4th and 5th chat string. But I want it to work even if you randomise the order in which you type the substrings.
I am guessing it can't be done in GUI only but just to make sure I wanted to ask.
Thank you!
Something like this is what I would like to be able to use together with other substring events:
-
Income timer Setup
-
Events
-
Player - Player 1 (Red) types a chat message containing -it as A substring
-
-
Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Real((Substring((Entered chat string), 4, 5)))) Greater than or equal to 1.00
-
(Real((Substring((Entered chat string), 4, 5)))) Less than or equal to 30.00
-
-
-
-
Actions
-
Set VariableSet RealIncomeString = (Real((Substring((Entered chat string), 4, 5))))
-
Game - Display to (All players) the text: (|cFFE0B42FIncome time frequency is set to |r + (Substring((Entered chat string), 4, 5)))
-
-
-abc-def-it10
How can you get the value 10 from the example I give above? This trigger won't work as it can only take the input from the 4th and 5th chat string. But I want it to work even if you randomise the order in which you type the substrings.
I am guessing it can't be done in GUI only but just to make sure I wanted to ask.
Thank you!