$matchkey

From Scriptwiki
Revision as of 23:10, 8 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.