script.echo("Test"); function testfunc() { script.echo("We got a match baby!"); } var matches = new Array(); matches.push(script.match("Circle",testfunc)); script.put("exp"); script.matchwait(matches); script.echo("At the end");