I want to make a trigger to relay quest information to my group when I request one.
A wise Old Man says to you 'A horde of '*' is terrorizing *.'
A wise Old Man says to you 'This horde consists of * members.'
A wise Old Man says to you 'You have * minutes to destroy this horde.'
I want to tell this information to the group in one line, but because they are all on separate lines, I don't know how. I messed around with variables and it didn't work.
I don't want to sound ignorant or anything, it's just I'm not very wise on all those symbols and such, could someone write an example script for me to try out?
That is regex, I don't think you need to use it in this case. I don't know if there are one or two linebreaks between each line. This should match on one linebreak:
A wise Old Man says to you 'A horde of '*' is terrorizing *.'\nA wise Old Man says to you 'This horde consists of * members.'\nA wise Old Man says to you 'You have * minutes to destroy this horde.'
You ask A wise Old Man for a quest for your group.
A wise Old Man says to you 'A horde of 'a frog' is terrorizing Bard's College Ruins.'
A wise Old Man says to you 'This horde consists of 26 members.'
A wise Old Man says to you 'You have 37 minutes to destroy this horde.'
match="You ask A wise Old Man for a quest for your group.\nA wise Old Man says to you 'A horde of '(.*)' is terrorizing (.*)\.'\nA wise Old Man says to you 'This horde consists of (.*) members.'\nA wise Old Man says to you 'You have (.*) minutes to destroy this horde.'\Z"
multi_line="y"
regexp="y"
send_to="2"
sequence="100"
>
<send>gtell Horde of '%1' is terrorizing %2; horde is made up of %3 members and we have %4 minutes to destroy this horde.</send>
</trigger>
</triggers>