As promised, here's the video:
If you want to run the script or take a look at it, here that is: https://pastebin.com/Rjugu1nC
It builds "zones" based around flag objects (classname: Flag_Green_F - so you'll need at least one of those, bare minimum).
Just to add coz I didnt see it written.
To start a task once the intel is picked up add a trigger for create task and give your Intel a name. Then in the trigger condition add
That then should trigger your task once Intel is picked up.
This works well with the task modules and it should work with scriptted task but I have only used the modules