The ionic inputs to new fluorophore have been mimicked as a superimposed electronic molecular keypad lock and half-subtractor.