Role of environment and gas temperature in the formation of multiple protostellar systems: molecular tracers