Okay, I wrote a trigger and it worked fine one day but when I closed MUSH, I forgot to save so it got erased. I rewrote the trigger and it didn't work. I copy and pasted some triggers off the forums that were said to work and did a test trigger and those did not work either. I have enabled triggers and I can't figure out why it won't work. Any ideas?
Also, just in case, this is my trigger.
<triggers>
<trigger
enabled="y"
match="for (?P<coins>) coins\."
regexp="y"
send_to="12"
sequence="100"
>
<send>SetVariable "coins", GetVariable ("coins") + %<coins>
Note "You now have " & GetVariable ("coins") & " coins."</send>
</trigger>
</triggers>
EDIT : When I said they didn't work, I meant that nothing happened. No error messages, no notes, nothing.
Also, just in case, this is my trigger.
<triggers>
<trigger
enabled="y"
match="for (?P<coins>) coins\."
regexp="y"
send_to="12"
sequence="100"
>
<send>SetVariable "coins", GetVariable ("coins") + %<coins>
Note "You now have " & GetVariable ("coins") & " coins."</send>
</trigger>
</triggers>
EDIT : When I said they didn't work, I meant that nothing happened. No error messages, no notes, nothing.