I found this on the forums, but like I mentioned on another thread... it works but sometimes it take a little to long to set targeting back on. anyways here it is and maybe one the guys that know about scripting can help us fix it:
-don't post forgee.lua dependent scripts-