Multifunctional supramolecular self-assembly system for colorimetric detection of Hg2+, Fe3+, Cu2+ and continuous sensing of volatile acids and organic amine gases.