Put butter into kettle; when melted, add molasses, sugar, and milk. Stir until sugar is dissolved, and when boiling point is reached, add chocolate, stirring constantly until chocolate is melted. Boil until, when tried in cold water, a firm ball may be formed in the fingers. Add vanilla just after taking from fire. Turn into a buttered pan, cool, and mark in small squares.