Multiple trigger one line

by Unknown

Back to Mechanic's Corner.

Unknown2005-10-18 03:15:56
How can you get a trigger to fire off multiple times on one line, in zmud?
Raezon2005-10-18 03:30:16
Just break up the trigger... for instance

You have recovered balance on all limbs.

1. You have recovered *
2. * have recovered balance *
3. * recovered balance on *
etc...

Allows you to turn on and off specific ones.
Unknown2005-10-18 04:05:11
Well, I'm trying to catch enemies with a trigger. My trigger is (%w){,|$}, but it only get the first (and possibly the last, I forget) of each line. I can't really break it up =\\, but thanks anyway.
Unknown2005-10-18 11:00:57
It seems to me that using a regular expression makes it work better. For example, I have a string list of enemies' names, and I use a trigger like this (which works multiple times on the same line):

CODE
#REGEX {\\b(?:@Enemies)\\b} {#cw ghostwhite,firebrick}