Advertisement
minmin0917

AntiSpam

Nov 29th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. on chat:
  2. if {Chat.Wait.%player%} is true:
  3. send "&cチャットをスパムすることはできません。1秒ほど待ってください。"
  4. cancel event
  5. else:
  6. if {Chat.History.%player%} is "%message%":
  7. send "&c同じチャットを繰り返し送ることはできません。"
  8. cancel event
  9. else:
  10. stop
  11. on chat:
  12. set {Chat.History.%player%} to "%message%"
  13. set {Chat.Wait.%player%} to true
  14. wait 2 seconds
  15. set {Chat.Wait.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement