| LootMobs.mac v1.1 by hoosierbilly 23 Sept 2011
| Based on - Sellstuff.mac v1.1 by Maskoi 11/27/2010
| Type /mac lootmobs
| Required Ninjadvloot.inc v2.+ and MQ2Moveutils
#include Ninjadvloot.inc
Sub Main
/call SetupAdvLootVars
/if (!${SpawnCount[corpse radius ${CorpseRadius} zradius 100 noalert 25]}) {
/echo There are no corpse's within ${CorpseRadius} units range.
/endmac
}
/if (${SpawnCount[npc radius ${MobsTooClose} zradius 100 noalert ${AlertList}]}) {
/echo Can't loot while mobs are within ${MobsTooClose} units range.
/endmac
}
/call LootMobs
/look
/echo Looting complete - go slay some more.
/return