Hey,
Sorry to bother you guys again, but I'm having more trigger problems...
I'm trying to make a line that will match on when someone in the group except me is in a fight and I want it to get the name of the person that's fighting.
So I thought I'd make a regular expression that would match on the mob's name that's hitting, the damage type and the person who's been hit. So I made this regexp, but it seems to be matching on every line for some reason and not returning my wildcards.
<trigger
match="^.*!Your scratches|hits|wounds|injures|mauls|decimates|devastates|maims|MUTILATES|DISMEMBERS|DISEMBOWELS|MASSACRES|\*\*\* MASSACRES \*\*\*|\*\*\* DEVASTATES \*\*\*|\*\*\* OBLITERATES \*\*\*|\*\*\* DEMOLISHES \*\*\*|\*\*\* ANNIHILATES \*\*\*|\*\*\* DESTROYS \*\*\* (w+!you!him!her!it!them)[!.]$"
regexp="y"
script="gfight"
sequence="100"
enabled="n"
>
</trigger>
For example, it should match on the wolf's bite hits Kevin, but not your slash hits Kevin.
Note that it's disabled because t was matching on every line and giving me compile errors.
Thanks all.
Sorry to bother you guys again, but I'm having more trigger problems...
I'm trying to make a line that will match on when someone in the group except me is in a fight and I want it to get the name of the person that's fighting.
So I thought I'd make a regular expression that would match on the mob's name that's hitting, the damage type and the person who's been hit. So I made this regexp, but it seems to be matching on every line for some reason and not returning my wildcards.
<trigger
match="^.*!Your scratches|hits|wounds|injures|mauls|decimates|devastates|maims|MUTILATES|DISMEMBERS|DISEMBOWELS|MASSACRES|\*\*\* MASSACRES \*\*\*|\*\*\* DEVASTATES \*\*\*|\*\*\* OBLITERATES \*\*\*|\*\*\* DEMOLISHES \*\*\*|\*\*\* ANNIHILATES \*\*\*|\*\*\* DESTROYS \*\*\* (w+!you!him!her!it!them)[!.]$"
regexp="y"
script="gfight"
sequence="100"
enabled="n"
>
</trigger>
For example, it should match on the wolf's bite hits Kevin, but not your slash hits Kevin.
Note that it's disabled because t was matching on every line and giving me compile errors.
Thanks all.