Tried this Sub LootCorpse /declare i int local /declare LootList string local /call CheckCursor /loot /delay 3s ${Corpse.Open} /doevents CantLoot /if (${Target.ID}==${ALDontLoot} && ${Spawn[${ALDontLoot}].ID}) /squelch /alert add 25 id ${ALDontLoot} /delay 3s ${Corpse.Items} || ${Target.ID}=...