Here's the lovely C_Timer functions..
http://wow.gamepedia.com/API_C_Timer.After
http://wow.gamepedia.com/API_C_Timer.NewTimer
http://wow.gamepedia.com/API_C_Timer.NewTicker
Try to remember to give your frames unique names so it's easier to point out when further developing your addon. While naming the frame "frame" is alright with this small addon you should make it a habit to do the other.
Code:
local AchieveHandler = CreateFrame("Frame")
AchieveHandler:RegisterEvent("CHAT_MSG_GUILD_ACHIEVEMENT")
AchieveHandler:SetScript("OnEvent", function(self, event)
C_Timer.After(10, function()
SendChatMessage("oh wow grats", "GUILD")
end)
end)
Change 10 to whatever delay you want.