Versatility of the bis(iminopyrrolylmethyl)amine ligand: tautomerism, protonation, helical chirality, and the secondary coordination sphere with halogen bonds in the formation of copper(II) and nickel(II) complexes.