/*protocatch*/ global what = ""; global onRun = function( args ) { global what; what = args[1]; speak("Now watching for "+what+"."); }; global onInbound = function( line, from, num ) { if (reMatch2(line, what)) { log("\[IN\] =="+what+"==", line, "\n"); return line; } }; //Adding a banana here, Lothus says not to forget it so I shant. global onOutbound = function( line, from, num ) { if (reMatch2(line, what)) { log("\[OUT\] =="+what+"==", line, "\n"); return line; } };