$matchkey » History » Revision 3
Revision 2 (Per Amundsen, 08/12/2015 01:21 PM) → Revision 3/4 (Per Amundsen, 02/24/2017 09:32 PM)
_Added in 1.9.0_
*$matchkey*
Returns wildcard matchtext that was used in the matching [[Scripting_Events|event]].
_For some events it returns the value of the [[matchtarget]] instead._
*Example*
<pre>
on *:TEXT:*Test*:*:echo -ag Matchkey was $matchkey
</pre>