
i made it like this:
- i used teleport
- i also used countmobs() userfunction, and when mobs were close i just teleported to the next waypoint. it usually went like this: mobs came closer, i teleported away ~180 units, killed a couple (i was a m/r, i used tods mostly), teleported to the next waypoint, and so on...
- when all mobs were killed, the bot used the sound alarm, and i manually pulled 2 more bugs, then pressed "delete" again and bot resumed kiting.
wasn't really hard to do it, and sometimes i could even use the first tick of the thunderstorm also.
there were occasional deaths though, but rarely

hope it helps.