Added in 1.9.0

$ifmatch

Returns the first parameter of an if-then-else comparison.

Same as $v1, see also $ifmatch2.

Example

; In this case '$ifmatch' will be 'text' and '$ifmatch2' will be 'sometext'.
if (text isin sometext) {
  echo -ag ifmatch is $ifmatch2
}