Creating triggers with wildcard

Post Reply
Don Dalgas
Posts: 8
Joined: Thu Aug 03, 2017 1:18 pm

Creating triggers with wildcard

Post by Don Dalgas » Fri Aug 11, 2017 6:11 pm

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.

Jor'Mox
Posts: 806
Joined: Wed Apr 03, 2013 2:19 am

Re: Creating triggers with wildcard

Post by Jor'Mox » Fri Aug 11, 2017 6:39 pm

See my answer to your identical post in the General Forum.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests