Saw a request for this, so I decided to improve an old script.
This version will shoot runes at the last known position of a target that goes invisible.
You can also configure it to shoot spells, it even supports turning in the right direction for waves.