alexdubovyck

[Meo] входит в игровой мир

Nov 10th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. ---------------------------------------------
  2. ---------------------------------------------
  3. local f = CreateFrame("Frame")
  4. function eventHandlerr(self, event, ...)
  5.  
  6. online = 0
  7.  
  8. if event == "CHAT_MSG_CHANNEL" then
  9. if online == 0 then
  10. msg = ('\124cffffff00\124Hachievement:6753:"..UnitGUID("player")..":0:0:0:0:0:0:0:0\124h[Meo]\124h\124r \124cffffff00\124Hspell:152279\124hвходит в игровой мир\124h\124r')
  11. print(msg)
  12. online = 1
  13. end
  14.  
  15. if event == "CHAT_MSG_CHANNEL" then
  16. if online == 1 then
  17. msg = ('\124cffffff00\124Hachievement:6753:"..UnitGUID("player")..":0:0:0:0:0:0:0:0\124h[Meo]\124h\124r \124cffffff00\124Hspell:152279\124hвыходит из игрового мира\124h\124r')
  18. print(msg)
  19. online = 0
  20. end
  21. end
  22.  
  23.  
  24.  
  25. end
  26. end;
  27. f:SetScript("OnEvent", eventHandlerr)
  28. f:RegisterEvent("CHAT_MSG_CHANNEL")
Add Comment
Please, Sign In to add comment