Mr. Sg once developed a motion-sensor sprinkler device. It would be even more fun if you rigged it w/green food coloring or indelible ink to dye the varmints!
LOL. I like that idea. Kinda like the dye packs used by banks.