I've been trying to get the actual text (another player's name) that the following trigger matches and add it to a table:
Highlight_enemies looks like this "Bob|John|Mark", and the trigger WILL match more than once on the same line.
"%0" stores the pattern, and not the matching text, any suggestions how I can make it work?
<trigger
enabled="y"
expand_variables="y"
group="System_Tracking"
keep_evaluating="y"
match="@!highlight_enemies"
name="get_toenemy"
regexp="y"
repeat="y"
sequence="1"
>
<send>table.insert (to_enemy, "%0")</send>
</trigger>
Highlight_enemies looks like this "Bob|John|Mark", and the trigger WILL match more than once on the same line.
"%0" stores the pattern, and not the matching text, any suggestions how I can make it work?