A highly selective and sensitive Zn(II) complex-based chemosensor for sequential recognition of Cu(II) and cyanide.