I'm having trouble reproducing something I've already solved.
I made a trigger to play a punching sound every time my attack does NOT miss. It works perfectly:
So now I want to make a trigger to play one sound every time I eat something OTHER than a pill. (Identified on the server with a [pill] tag in brackets.) Here's the code I've got, which feels very similar to the above:
When I eat a pill, this eating sound still plays. What am I doing wrong?
I made a trigger to play a punching sound every time my attack does NOT miss. It works perfectly:
Quote:
<triggers>
<trigger
enabled="y"
ignore_case="y"
keep_evaluating="y"
match="Your acidic bite* (?!misses)"
regexp="y"
send_to="12"
sequence="100"
>
<send>PlaySound(0, "C:/Users/scart/OneDrive/Documents/MUDs/MUD Sounds/punch.wav", false)
</send>
</trigger>
</triggers>
<triggers>
<trigger
enabled="y"
ignore_case="y"
keep_evaluating="y"
match="Your acidic bite* (?!misses)"
regexp="y"
send_to="12"
sequence="100"
>
<send>PlaySound(0, "C:/Users/scart/OneDrive/Documents/MUDs/MUD Sounds/punch.wav", false)
</send>
</trigger>
</triggers>
So now I want to make a trigger to play one sound every time I eat something OTHER than a pill. (Identified on the server with a [pill] tag in brackets.) Here's the code I've got, which feels very similar to the above:
Quote:
<triggers>
<trigger
custom_colour="5"
enabled="y"
ignore_case="y"
keep_evaluating="y"
match="You eat* (?!pill)"
regexp="y"
send_to="12"
sequence="100"
>
<send>PlaySound(0, "C:/Yorda Misc/MUDs/mud sounds x/eating_simp.wav", false)
</send>
</trigger>
</triggers>
<triggers>
<trigger
custom_colour="5"
enabled="y"
ignore_case="y"
keep_evaluating="y"
match="You eat* (?!pill)"
regexp="y"
send_to="12"
sequence="100"
>
<send>PlaySound(0, "C:/Yorda Misc/MUDs/mud sounds x/eating_simp.wav", false)
</send>
</trigger>
</triggers>
When I eat a pill, this eating sound still plays. What am I doing wrong?