A new optimal synthetic scheme for new antibacterial compounds combining tris-(1-alkyindol-3-yl)methylium and 3-(indol-1-yl)maleimide in their structures was developed. The proposed method provided a significant increase in the product yield, reduced the labor intensiveness and number of steps, and used readily accessible starting reagents. A good yield was achieved for 3-(formylindol-1-yl)-4-chloromaleimide, a universal precursor enabling two-step syntheses of target tri(indolyl)methanes and production of an extensive library of analogous potentially active compounds from other 1-alkylindoles and various amines and thiols.