Code:
frame:SetScript("OnTooltipSetQuest", function(self)
if not self.message then return end
local title = MyPrivateStuff_QuestInfoTooltipFrameTextLeft1:GetText()
self:Hide()
DEFAULT_CHAT_FRAME:AddMessage(format(self.message, self.linkID, title))
self.message, self.linkID = nil, nil
end)
Phanx left off the final ) after the last end.