I can't seem to come up with a regexp for a text. I'm sure it's doable, but I'm just inept. ;) The text is:
It can vary ofcourse. There are seven possible colours, and how many hits you are random. You could get:
Or the full:
Doing multiple triggers for 1, 2, 3, etc colors would work, but it's not "right". :P So.. How could I do this?
I would want to run checks on the colors in a script later on, as each color represents an effect (affliction, damage, heal).
Quote:
You are hit by a indigo and orange ray.
You are hit by a indigo and orange ray.
It can vary ofcourse. There are seven possible colours, and how many hits you are random. You could get:
Quote:
You are hit by a orange ray.
You are hit by a orange ray.
Or the full:
Quote:
You are hit by a indigo, yellow, green, violet, blue, red and orange ray.
You are hit by a indigo, yellow, green, violet, blue, red and orange ray.
Doing multiple triggers for 1, 2, 3, etc colors would work, but it's not "right". :P So.. How could I do this?
I would want to run checks on the colors in a script later on, as each color represents an effect (affliction, damage, heal).