$matchkey: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Daveoh (talk | contribs)
No edit summary
 
(No difference)

Latest revision as of 22:10, 8 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.