Awesome script!
Is it possible though to fix the "not looting while in combat" since it does not work when using ranged/magic. My user will just run in and collect arrows whilst being attacked.
Also I would like to be able to select an npc based on level. For instance the dark wizards south of Varrock have lvl 7 and lvl 20 variants. I'd like to only attack the lvl 7's, how would I do this?
Thanks in advance!