script.echo("Test"); function testfunc(obj) { 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"); script.exit();