Ok. I'll show the text that I see, and then explain what I mean.
-----------
| |1|2|3|4|5|
|A|7|U|Q|U|9|
|B|7|U|H|M|M|
|C|S|k|o|6|S|
|D|U|N|5|h|X|
|E|X|W|s|5|3|
-----------
Botig says, 'Please say the characters located at A-1, B-4, C-1, D-2 and E-4 back to me.'
Now. I want to store all the values there. Such as:
A-1 = 7
A-2 = U
and so on. But I'm not sure how I'd go about doing that. Then I want to use what Botig says to pick certain variables and then 'say #####' which would be the 5 required variables.
I believe the trigger for each line would look like so
<trigger
enabled="y"
match="^\|A\|(.*?)\|(.*?)\|(.*?)\|(.*?)\|(.*?)\|$"
regexp="y"
send_to="12"
sequence="100"
other_text_colour="black"
other_back_colour="black"
>
<send>SetVariable "A-1", "%1"
SetVariable "A-2", "%2"
SetVariable "A-3", "%3"
SetVariable "A-4", "%4"
SetVariable "A-5", "%5"</send>
</trigger>
But how do I take those wildcards and store them?
So yeah... I think I explained it pretty good.
[EDIT] Had the trigger line wrong. Changed it so it's right.
[EDIT] Added the full trigger as how I'd do it.
-----------
| |1|2|3|4|5|
|A|7|U|Q|U|9|
|B|7|U|H|M|M|
|C|S|k|o|6|S|
|D|U|N|5|h|X|
|E|X|W|s|5|3|
-----------
Botig says, 'Please say the characters located at A-1, B-4, C-1, D-2 and E-4 back to me.'
Now. I want to store all the values there. Such as:
A-1 = 7
A-2 = U
and so on. But I'm not sure how I'd go about doing that. Then I want to use what Botig says to pick certain variables and then 'say #####' which would be the 5 required variables.
I believe the trigger for each line would look like so
<trigger
enabled="y"
match="^\|A\|(.*?)\|(.*?)\|(.*?)\|(.*?)\|(.*?)\|$"
regexp="y"
send_to="12"
sequence="100"
other_text_colour="black"
other_back_colour="black"
>
<send>SetVariable "A-1", "%1"
SetVariable "A-2", "%2"
SetVariable "A-3", "%3"
SetVariable "A-4", "%4"
SetVariable "A-5", "%5"</send>
</trigger>
But how do I take those wildcards and store them?
So yeah... I think I explained it pretty good.
[EDIT] Had the trigger line wrong. Changed it so it's right.
[EDIT] Added the full trigger as how I'd do it.