I confused the context because of the screen drop box reference, my mistake.

Another way to do this is to createitemat NPC xy when the counter reaches full.

Item remove for no double drops, so no double item drops, and a enemy of list to activate the counter. This way the drop rates wouldn't need modded.