Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

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

  • AchimrstAchimrst NatureMember Posts: 3,608 @@ - Legendary Achaean
    Are you using mudlet or HTML5?
  • AddamaAddama Member Posts: 947 ✭✭✭✭✭ - Grand Achaean
    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~
    Achimrst
  • TaelTael Member Posts: 1,197 @ - Epic Achaean
    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];
  • ShibumiShibumi Member Posts: 223 ✭✭✭ - Distinguished
    Can someone please invite me in the HTML 5 help clan?
    Light prevails, always
Sign In to Comment.