Ended up with 2 kills and like 7 or 8 deaths before I gave up. It's just clunky, tried it with & without direct input and mouse hopping & got the same result more or less. Max combat main BTW.
It just keeps letting the tornadoes deal damage, doesn't eat when it should due to the fact it sits at 40-50hp at times and gets taken out by tornados.
The item switches seemed kinda slow, not really sure about the prayer switches, they seemed fine. Big issue was tornado and the bot not eating to full hp eo avoid dying to them. Good luck with the script tho!