Page 1 of 1

Creating triggers with wildcard

Posted: Fri Aug 11, 2017 6:11 pm
by Don Dalgas
Hope someone can help me with correctly creating af trigger containing a wildcard.

Here is an example :

You punch dwarf magician in the head doing unspeakable damage.

The wildcard in this line is : dwarf magician

This is what I have done:

You punch (.*) in the head doing unspeakable damage.

I want this line to trigger the color blue - or whatever. But the only word in the line that triggers the color blue is actually the "wildcard" - in this case dwarf magician.

What should I do if I want the whole line to colour trigger?

In the "options" to the right of the trigger line I have chosen "Perl Regex".

Thanks in advance.

Re: Creating triggers with wildcard

Posted: Fri Aug 11, 2017 6:39 pm
by Jor'Mox
See my answer to your identical post in the General Forum.