$matchkey » History » Version 3
Per Amundsen, 02/24/2017 09:32 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$matchkey* |
||
| 4 | |||
| 5 | 2 | Per Amundsen | Returns 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> |