trigger matching

Posted by Slickricksc777 on Mon 03 Feb 2003 01:14 AM — 2 posts, 11,378 views.

#0
i play a mud client that uses astricks on the side of enemies like so... *Mr. Whoever* and i wanna know how to be able to only pick him up as an enemy instead of people on your side
Australia Forum Administrator #1
You can make a trigger that is a regular expression and then "escape" the asterisks with backslashes. Like this ...

Match on: \*(.*)\* attacks you

The (.*) is a wildcard that matches any text, and the \* represents a single asterisk.