$matchkey

From Scriptwiki
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.