Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

#include Ninjadvloot.inc
Sub Main
/declare LootTotal int outer
/declare LootSlot int outer
:main
/doevents
/delay 1s
/if (!${Target.ID}) /keypress f8
/if (!${Target.ID}) /target goblin
/if (!${Target.ID}) /target gnom
/if (!${Target.ID}) /target cw
/if (!${Target.ID}) /target cinder
/if (${Target.Type.Equal[Corpse]}) {
/warp target
/delay 1s
/call Lootcorpse
}
/if (${Target.ID}) /goto :move
/goto :main
:move
/warp target
/keypress back hold
/delay .5s
/keypress up
/stick 7
/goto :kill
:kill
/delay 1s
/attack on
/stick 7
/goto :wait
:wait
/if (${Me.PctHPs}<12) {
/warp succor
/delay 1s
/warp succor
/fade
/delay 40s
/goto :heal
}
/doevents
/if (!${Target.ID}) /goto :main
/if (${Target.ID}) /goto :kill
:heal
/if (${Me.PctHPs}>80) /goto :main
/if (${Me.PctHPs}<=80) {
/delay 10s
/goto :heal
}
I use a combination of MQ2 cursor when I loot. This way it deletes lots of garbage.
It takes a while to setup what you want to keep vs what you want to destroy, but once it is set it works well.
Make sure you loot it on cursor first and don't auto inventory or it never sees it on the cursor.
/nomodkey /shift /itemnotify loot${LootSlot} leftmouseup
/delay 1s
/autoinv
