You'd put it in the action or particle function for your raindrops. If you're using entities instead of particles, use ent_remove(me) instead of my.lifespan = 0.