Added in 1.9.0
$matchkey
Returns wildcard matchtext that was used in the matching event.
For some events it returns the value of the matchtarget instead.
Example
on *:TEXT:*Test*:*:echo -ag Matchkey was $matchkey