From the sounds of it, all the actions other than the steal actions aren't active forever (i'm sure the steal actions aren't active forever, but you catch my drift i hope and in order for the following method to work you may have to make those active forever too). You should set those up if you want them to be active even if the docs are taken and just toggle them on/off in the script. It's not a problem with you're script per say, but if you want actions to be active across group numbers even under goal tracker altering conditions you have to make them active forever and then just disable/enable them in the script as you wish.
You can also deactivate active forever actions completely, say a dynamite objective is destroyed and you don't want the bots around there anymore. Again that can be done from within the script.
Hope that fixes the problem.
