I was just thinking about another layer to this mod.
You know those mags that have a dingus on the feeder so it feeds all the BB’s through the hopup? What if you put a magnet in there and a sensor on the side of the hopup.
The hopup sensor will be a reverse of the magwell sensor (the magnet opens the circuit) so when the mag is in and the gun is dry (dingus is in the hopup) it cannot fire.
I hope that I didn’t make it too confusing.