Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. local msgNick = {'Szczena', ''}
  2. auto(100)
  3.  
  4. if not sent then
  5. sent = 0
  6. end
  7.  
  8. if paroundignore(7, true, unpack(charactersOnScreen)) > 0 and sent == 0 then
  9. for _,each in pairs(msgNick) do
  10. alert('pos.wav')
  11. sent = 1
  12. wait(1000)
  13. end
  14. end
  15. if paroundignore(7, true, unpack(charactersOnScreen)) == 0 then
  16. sent = 0
  17. end
  18. for _, m in ipairs(getnewmessages()) do
  19. if m.sender ~= getname() and sent == 0 then
  20. for _,each in pairs(msgNick) do
  21. if m.mode == MSG_PRIVATE then
  22. alert('msg.wav')
  23. end
  24. if m.mode == MSG_DEFAULT then
  25. alert('msg.wav')
  26. end
  27. wait(1000)
  28. end
  29. end
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement