Having trouble

Post Reply
User avatar
Hoax13
Posts: 3
Joined: Tue Feb 09, 2021 4:59 pm

Having trouble

Post by Hoax13 »

Trying to make a trigger that goes of when looting certain items. I made one, but it seems to go off with all items looted from a corpse.


^You get (a|an|the)(unusual|peculiar|exotic|intense|pronounced)?(.+) from the corpse of (.*?).$



unusual,peculiar,exotic,intense,pronounced are what come in the items name as in "an unusual frilly white shirt". Could use some help with this.

User avatar
Hoax13
Posts: 3
Joined: Tue Feb 09, 2021 4:59 pm

Re: Having trouble

Post by Hoax13 »

Got one line of the trigger to work. Dropped (a|an|the)
^You get (.*)(unusual|peculiar|exotic|intense|pronounced)(.*?).$
Now to see if the next line works.
^You get (.*)(unusual|peculiar|exotic|intense|pronounced)(.*) from the corpse of (.*?).$

User avatar
Vadi
Posts: 4965
Joined: Sat Mar 14, 2009 3:13 pm

Re: Having trouble

Post by Vadi »

Glad you got it sorted!

Post Reply