Put butter into a saucepan; when melted, add sugar, milk, and molasses. Heat to boiling point, and boil seven minutes. Add chocolate, and stir until chocolate is melted; then boil seven minutes longer. Remove from fire, beat until creamy, add nuts, raisins, and vanilla, and pour at once into a buttered tin. Cool slightly, and mark in squares.