Not a real programmer, but I do alot of programerish stuff.
You'll want the syntax on that macro's command lines to be in the form of Task first, event second. As in POI BEGIN not BEGIN POI. It'll parse much faster if you can skip the begin comands for other tasks right off