Simple color trigger question

Post Reply
zakman
Posts: 11
Joined: Sun Jul 08, 2012 4:11 am

Simple color trigger question

Post by zakman »

Quick question about color triggers. Running Mudlet 3.0.0-delta on Windows 10.

I'm trying to code a color trigger that will highlight my main attack line, so that when things are fast and furious I can easily tell if my attack has gone through. The line I want it to recognize and color looks like this:

Trigger off of: You deftly thrust a simple, sturdy trident into a surly smuggler.
Trigger pattern: ^You deftly thrust (.*) into (.*)\.$ (perl regex type)

The "a simple, sturdy trident" and "a surly smuggler" parts are subject to change, depending on the weapon I'm using and whatever I'm fighting.

I want it to highlight the *entire* line, but the best I've ever been able to do is have it highlight the parts that match the regex - my weapon and whatever I'm attacking. I am sure I am missing something very simple here, but it eludes me. Any assistance would be appreciated.

zakman
Posts: 11
Joined: Sun Jul 08, 2012 4:11 am

Re: Simple color trigger question

Post by zakman »

Nevermind...found an answer that works. Important tip: coffee before posting is a good thing (along with the search function.)

For reference, this is the thread with a good solution:
http://forums.mudlet.org/viewtopic.php?f=8&t=6139

Post Reply