Difference between revisions of "$matchkey"

From Scriptwiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 00:10, 9 April 2008

Returns wildcard matchtext that was used in the matching remote event.

$matchkey
  • This function has no parameters.

Example

on *:TEXT:*m00*:#:{ msg $chan string matched $matchkey }

This would message the channel whenever somebody said "m00", telling them they matched the wildcard match.