Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------
- ---------------------------------------------
- local f = CreateFrame("Frame")
- function eventHandlerr(self, event, ...)
- online = 0
- if event == "CHAT_MSG_CHANNEL" then
- if online == 0 then
- msg = ('\124cffffff00\124Hachievement:6753:"..UnitGUID("player")..":0:0:0:0:0:0:0:0\124h[Meo]\124h\124r \124cffffff00\124Hspell:152279\124hвходит в игровой мир\124h\124r')
- print(msg)
- online = 1
- end
- if event == "CHAT_MSG_CHANNEL" then
- if online == 1 then
- msg = ('\124cffffff00\124Hachievement:6753:"..UnitGUID("player")..":0:0:0:0:0:0:0:0\124h[Meo]\124h\124r \124cffffff00\124Hspell:152279\124hвыходит из игрового мира\124h\124r')
- print(msg)
- online = 0
- end
- end
- end
- end;
- f:SetScript("OnEvent", eventHandlerr)
- f:RegisterEvent("CHAT_MSG_CHANNEL")
Add Comment
Please, Sign In to add comment