What I was doing with my script, when I played UO, was I would move 3-4 rioters to one spot and put wooden boxes around them, enclosing them to a 1 tile range and simply letting the script run... You have to check in every couple of hours though because the chests will despawn.