I read through the FAQ and read the example about creating a trigger to match on a variable (@target). I already set up a targeting alias following the instructions in Nick's YouTube video.
However, when I set up the trigger I start with this from the example in the FAQ:
<triggers>
<trigger
custom_colour="7"
enabled="y"
expand_variables="y"
match="@target hits you!"
sequence="100"
>
<send>punch @target</send>
</trigger>
</triggers>
Then I modify that trigger and change it to:
<triggers>
<trigger
custom_colour="7"
enabled="y"
expand_variables="y"
match="@target leaves *"
sequence="100"
>
<send>%1
murder @target</send>
</trigger>
</triggers>
Then I set my target to Bob
So when I'm fighting Bob, if Bob flees the echo will be:
Bob has fled!
Bob leaves west.
Which I'm expecting should match on Bob leaves west (since @target=Bob, and match="@target leaves *") and should send: west; murder bob
However, when I use the Test Trigger function under the Game menu, nothing happens.
I even tried to use the example trigger from the FAQ without modification and used the Test Trigger function to send:
Bob hits you!
But still had nothing happen. When I use Test Trigger on any of my other triggers, it works perfectly, just not on this one.
However, when I set up the trigger I start with this from the example in the FAQ:
<triggers>
<trigger
custom_colour="7"
enabled="y"
expand_variables="y"
match="@target hits you!"
sequence="100"
>
<send>punch @target</send>
</trigger>
</triggers>
Then I modify that trigger and change it to:
<triggers>
<trigger
custom_colour="7"
enabled="y"
expand_variables="y"
match="@target leaves *"
sequence="100"
>
<send>%1
murder @target</send>
</trigger>
</triggers>
Then I set my target to Bob
So when I'm fighting Bob, if Bob flees the echo will be:
Bob has fled!
Bob leaves west.
Which I'm expecting should match on Bob leaves west (since @target=Bob, and match="@target leaves *") and should send: west; murder bob
However, when I use the Test Trigger function under the Game menu, nothing happens.
I even tried to use the example trigger from the FAQ without modification and used the Test Trigger function to send:
Bob hits you!
But still had nothing happen. When I use Test Trigger on any of my other triggers, it works perfectly, just not on this one.