<triggers>
<trigger
custom_colour="16"
enabled="y"
group="Highlighted Words"
ignore_case="y"
keep_evaluating="y"
match="\bdies\.\b"
regexp="y"
repeat="y"
sequence="90"
other_text_colour="silver"
>
<send>/SetVariable ("test", (GetVariable ("test") or 0) + 1)
Note ("Saved count is now " .. GetVariable ("test"))</send>
</trigger>
</triggers>
I'm trying to make count of all mobs killed, unfortunatly this trigger won't execute with the code given. It just dosen't do anything,
the output is like this.
"You got 363 xp.
Badger died horribly.
Badger drops a badger skin.
Badger dies."
or
You got 2160 xp.
Grizzly bear died horribly.
Grizzly bear dies.
etc
<trigger
custom_colour="16"
enabled="y"
group="Highlighted Words"
ignore_case="y"
keep_evaluating="y"
match="\bdies\.\b"
regexp="y"
repeat="y"
sequence="90"
other_text_colour="silver"
>
<send>/SetVariable ("test", (GetVariable ("test") or 0) + 1)
Note ("Saved count is now " .. GetVariable ("test"))</send>
</trigger>
</triggers>
I'm trying to make count of all mobs killed, unfortunatly this trigger won't execute with the code given. It just dosen't do anything,
the output is like this.
"You got 363 xp.
Badger died horribly.
Badger drops a badger skin.
Badger dies."
or
You got 2160 xp.
Grizzly bear died horribly.
Grizzly bear dies.
etc