Project

General

Profile

$matchkey » History » Version 4

Per Amundsen, 05/24/2018 10:10 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$matchkey*
4
5 4 Per Amundsen
Returns [[Scripting_Wildcards|wildcard]] matchtext that was used in the matching [[Scripting_Events|event]].
6 1 Per Amundsen
7 3 Per Amundsen
_For some events it returns the value of the [[matchtarget]] instead._
8
9 1 Per Amundsen
*Example*
10
11
<pre>
12
on *:TEXT:*Test*:*:echo -ag Matchkey was $matchkey
13
</pre>