I used a modified version of this while in Doom and it worked great. It would auto-dispel revs, cut bones, heal my pet every 4 seconds, and cast Word of Death. All I had to do was keep my pet clear of poison, and help with the healing.
I also ran Dread Horn many times with this. Before I got good enough with my samp, I ran this guy as support to cure/heal me. Worked awesome.
I had been planning a PBot (party bot) that would accept party messages and perform actions based on the inputs. It's not really a "Global Variable" project though, so it's on my regular to-do list, along with many other things.