Facebook
From Gitek20, 4 Years ago, written in Python.
Embed
Download Paste or View Raw
Hits: 575
  1. variables:
  2.     antyspam.%player% = 0
  3. on chat:
  4.     if {antyspam.%player%} is 0:
  5.         if player has permission "antyspam.admin":
  6.             stop
  7.         else:
  8.             if player has permission "antyspam.vip":
  9.                 set {antyspam.%player%} to 3
  10.             else:
  11.                 set {antyspam.%player%} to 5
  12.     else:
  13.         cancel event
  14.         send "&cMozesz pisać dopiero za &4%{antyspam.%player%}% &csekundy!"
  15.    
  16. every second:
  17.     loop all players:
  18.         if {antyspam.%loop-player%} is more than 0:
  19.             remove 1 from {antyspam.%loop-player%}