Looting decisions are handled by script_process_hero_ai, which is regularly called from triggers. If you use (party_set_slot, [party], slot_party_ai_state, spai_raiding_around_center) and create a new trigger based on the part for the AI state spai_raiding_around_center, the party will raid the enemy village in the vicinity that's not already raided when it's fired.