So I am trying to make a redirect trigger that when a certain event comes up, it redirects it to Gammon's Chat Redirector. I've added a few things specific to my MUD, but one that I can't seem to figure out goes something like this:
I'm trying to match anything within the [ Bonus + ], but I believe I'm using the wrong character to signify the bonus obtained, or that the syntax in the match is messed up itself.
Any help would be greatly appreciated.
<trigger
enabled="y"
match="^[(.*?)\Bonus +(.*?)*$]"
regexp="y"
script="redirect"
sequence="100"
>
</trigger>I'm trying to match anything within the [ Bonus + ], but I believe I'm using the wrong character to signify the bonus obtained, or that the syntax in the match is messed up itself.
Any help would be greatly appreciated.