kick_msg.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. local foul = {
  2. "No bad words!",
  3. "No crudity! We breath only clean air here.",
  4. "Yuck.",
  5. "Stop breathing our air!",
  6. "Please don't pollute our air with foul language.",
  7. "Only desperate people spout that kind of talk.",
  8. "Disgusting. Clean up your chat.",
  9. "Ew!",
  10. "Now *that* was not appropriate talk.",
  11. "Now applying duct-tape to your chat.",
  12. "We don't live in Washington, DC. Yucky talk is not allowed.",
  13. "Express your feelings without fouling the chat.",
  14. "Crudity!",
  15. "This server does not comprehend noob talk.",
  16. "Do you come from Washington, DC?",
  17. "Oh, gross!",
  18. "That qualifies as verbal pollution.",
  19. "Not the best way to express oneself.",
  20. "Yuck. Yuck. Yuck.",
  21. "Phew. Good thing nobody actually read that!",
  22. "You have been warned for uninteresting language.",
  23. "Don't say rude talk here.",
  24. "Rude!",
  25. "Pollution is bad. Foul language pollutes the soul.",
  26. "Wash your mood.",
  27. }
  28. local curse = {
  29. "Cursing is banned.",
  30. "No bad words!",
  31. "No cursing! Your chat needs handyman's secret weapon: duct tape.",
  32. "Shut up.",
  33. "Cursing is for noobs.",
  34. "What, you couldn't express yourself civilly?",
  35. "We don't live in Washington, DC. Talk like that is not allowed.",
  36. "Your chat was duct-taped.",
  37. "Bad language. Do you happen to live in Chicago?",
  38. "Express your feelings without ruining the chat.",
  39. "This is for that bad word you used!",
  40. "Don't be profane.",
  41. "Profantiy!",
  42. "Consider yourself warned for uninteresting language.",
  43. "Pollution is bad. Cursing pollutes the soul.",
  44. "Wash your mood!",
  45. }
  46. anticurse.get_kick_message = function(reason)
  47. local prefix = ""
  48. if reason == "foul" then
  49. local len = #foul
  50. local idx = math.random(1, len)
  51. if foul[idx] then
  52. return prefix..foul[idx]
  53. end
  54. elseif reason == "curse" then
  55. local len = #curse
  56. local idx = math.random(1, len)
  57. if curse[idx] then
  58. return prefix..curse[idx]
  59. end
  60. else
  61. return "Unknown reason. This is a bug."
  62. end
  63. end