The following should do the trick. Just copy it, then open your triggers window in Mushclient and use the paste button. Obviously, feel free to change what is sent when you get that line. I just wrote that as a quick example.
<triggers>
<trigger
enabled="y"
match="^Finger extended\, (\w+) pokes you\.$"
regexp="y"
sequence="100"
>
<send>emote looks at ^%1 and slaps ^%1_him silly.</send>
Not really asked for, but I can break down Tark's reply, so that it's more clear.
The RegExp was missing the ^ to start the line, the $ to end it, and you have to escape the punctuation, in this case the comma and period, by using the \. You also have to escape quotation marks so that the expression doesn't interpret them while it's running the rest.
The ^1% refers to the 1st captured argument, or what was in the (). Be careful using RegExp for reactions though, it can get spammy when people catch on, especially when they catch on and use illusions. Ask Neos what happened when I caught him auto-greeting novices back in the day.
Comments
The Inner Sea. I take commissions doe.
The Inner Sea. I take commissions doe.
The Inner Sea. I take commissions doe.
The RegExp was missing the ^ to start the line, the $ to end it, and you have to escape the punctuation, in this case the comma and period, by using the \. You also have to escape quotation marks so that the expression doesn't interpret them while it's running the rest.
The ^1% refers to the 1st captured argument, or what was in the (). Be careful using RegExp for reactions though, it can get spammy when people catch on, especially when they catch on and use illusions. Ask Neos what happened when I caught him auto-greeting novices back in the day.