Page 1 of 1

Match variable number of names in trigger ?

Posted: Thu Apr 02, 2020 9:30 pm
by Angahran
Hi,

Not sure if this is possible or not.
Have a trigger "Dancers swoop in to engage with" which is followed by between 1 and 6 names.
Is there an easy way to grab a variable number of names into {s1}, {s2}... etc

The long winded way would be to do something like -

{s1} | {s1},{s2} | {s1},{s2},{s3} | .... etc

Re: Match variable number of names in trigger ?

Posted: Sun May 03, 2020 10:47 pm
by Sirene
Not exactly what you want but this is what I use:

Search text: ^Dancers swoop in to engage with.*\s{c}[\s,\.]
Display text: {c} dancer emote

Will only display for characters I'm playing.

For variable names in a list you can also do this: (would display whole list)
Search text: ^Dancers swoop in to engage with {s}\.
Display text: {s} dancer emote

I wasn't able to figure out a "clean" way of displaying 1 at a time for 1-5 targets.