Waitforre

Description
Pauses the script until the regex pattern matches against the game text. Captures can be referred to following the waitforre via $1, $2, etc. Similar to matchre.

Syntax
waitforre

Parameters

 * pattern
 * regex pattern to compare with game text.

Examples
waitforre (\w+) just arrived\.$ put wave $1 put say Hello, $1!