Im trying to work on a trigger that will input
"attack <name of creature"
whenever it sees
"Jinx just attacked the <imp|huge rat|any creature>"
My problem is that sometimes it is attacked "the imp" sometimes "the huge rat" "the female hobgoblin" "the lizard man", Etc... aswell as "the cyclops" (which works fine)
I can't quite figure out how to have it only select "rat", "lizard".
as I said it works with one worded creatures (aka Cyclops)
Thankyou for any input
"attack <name of creature"
whenever it sees
"Jinx just attacked the <imp|huge rat|any creature>"
My problem is that sometimes it is attacked "the imp" sometimes "the huge rat" "the female hobgoblin" "the lizard man", Etc... aswell as "the cyclops" (which works fine)
I can't quite figure out how to have it only select "rat", "lizard".
as I said it works with one worded creatures (aka Cyclops)
<triggers>
<trigger
enabled="y"
group="auto attacks"
keep_evaluating="y"
match="^Jinx just attacked (?:the )?(.*?) with a (.*?)$"
regexp="y"
sequence="100"
>
<send>a %1
a %1
c dobuza %1</send>
</trigger>
</triggers>
Thankyou for any input