Try something like this, this is untested, but it should kill you roughly every 9 mins, attack, then stop - to make you spawn or w/e you wanted it too attack for. Stop, then re-execute itself. I'm sure someone could create another cfg to make all of the wait commands condensed into something smaller. But this is just a blunt wait then kill script.
RapidShare: Easy Filehosting
Give it a test later to check if it works, okay. If it doesn't, then I'll fix it, if someone else makes one, just use theirs, it'd probably be better
-Grim