Having a bit of trouble getting my script to output the variable in msgbox format (just a text in order to parse it with writetext from my other topic)
Here's what I have so far:
When I try to do something like
or 5-10
Error is this:
Trigger text is similar to this
I really only care about the sentence containing 'Bright green emerald' - 'Arena of the bull dancers for Bull pen' - 'You have 48 1/2 hours'
Capturing the full line of text is fine for simplicities sake, all I need is how to actually access the variables, and I can work out the rest.
Here's what I have so far:
<triggers>
<trigger
enabled="y"
expand_variables="y"
lines_to_match="7"
match="^You ask (.*?) for a quest\.\n(.*?) says \'Thank you\, brave Melchaleve\!\'\nYou have asked to find a lost item\.\n(.*?) says \'(.*?)\'\n(.*?)says \'(.*?)\'\n(.*?)says \'(.*?)\'\n(.*?) says \'(.*?)\'$"
multi_line="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>MsgBox "ping"</send>
</trigger>
</triggers>
When I try to do something like
Msgbox %4Error is this:
Script error
World: DSL
Execution of line 1 column 12
Immediate execution
Expected end of statement
Line in error:
MsgBox The High Priest of Althainia Trigger text is similar to this
You ask The High Priest of Althainia for a quest.
The High Priest of Althainia says 'Thank you, brave Melchaleve!'
You have asked to find a lost item.
The High Priest of Althainia says 'Vile thieves have stolen a bright green emerald from the royal treasury!'
The High Priest of Althainia says 'My court wizardess, with her magic mirror, has pinpointed its location.'
The High Priest of Althainia says 'Look in the general vicinity of Arena of the Bull Dancers for Bull Pen!'
The High Priest of Althainia says 'You have 48 1/2 hours to complete this quest.'I really only care about the sentence containing 'Bright green emerald' - 'Arena of the bull dancers for Bull pen' - 'You have 48 1/2 hours'
Capturing the full line of text is fine for simplicities sake, all I need is how to actually access the variables, and I can work out the rest.