something I made a while back, should be everything you need.
MQ2MoveUtils is required for this one, I never added the check to load it, This also uses MQ2Melee, with mq2melee auto sticking you to the mob (macro ensures mq2melee is loaded).
If your bot dies, it will go into a loop and wait for...