Help

trying to set up a trigger for the following:

(Party): Person says, "Target: Thing."

And have the target set. 

Messed around a bunch and still cant figure it out. please help. 

Thank you

Comments

  • Are you using mudlet or HTML5?
  • It's HTML5.  I asked the same question in the HTML5 thread, but since this is here:

    ^\(Party\): \w+ says, "T(?:arget|ARGET)(?:ing|ING)?:? (\w+)\."$

    It's not working.

    ~Kresslack's obsession~
  • edited December 2014
    Aside from the space after the $ in the above, it's correct. It will also get Target/Targeting with or without a colon afterward.

    So put that (without the offending space) in a regex trigger, then have it execute the script (for whatever your target variable is):

    myTarget = args[1];
  • Can someone please invite me in the HTML 5 help clan?
    Light prevails, always
Sign In or Register to comment.