Advertisement
Guest User

anty-tegon

a guest
Jul 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. # ANTYBOT CZAS
  2.  
  3. on connect:
  4. if {antybot::%player%} is not set:
  5. kick player due to "&3Tegon-BOT%nl%&9Zostales zweryfikowany!%nl%&3%nl%&aWejdz ponownie do gry!"
  6. set {antybot::%player%} to true
  7. set {timeout::antybot::%player%} to 30
  8. add player to {checking::bot::*}
  9. else:
  10. if {timeout::antybot::%player%} is more than 0:
  11. kick player due to "&3Tegon-BOT%nl%&7Musisz jeszcze odczekac: &6%{timeout::antybot::%player%}% &cs"
  12. every 1 second:
  13. loop {checking::bot::*}:
  14. if {timeout::antybot::%loop-value%} is more than 0:
  15. remove 1 from {timeout::antybot::%loop-value%}
  16.  
  17. # ANTYBOT PINGOWANIE
  18.  
  19. on connect:
  20. if {bot::%player%} is not set:
  21. set {bot::%player%} to true
  22. add player to {pinging::*}
  23. kick player due to "&3Tegon-BOT &aAby wejsc na nasz serwer musisz wykonac ponizsze wymagania:%nl%&7- Dodaj serwer do listy serwerów%nl%&7Zpinguj serwer"
  24. else:
  25. if {joinallow::%player%} is not set:
  26. kick player due to "&3Tegon-BOT &aAby wejsc na nasz serwer musisz wykonac ponizsze wymagania:%nl%&7- Dodaj serwer do listy serwerów%nl%&7Zpinguj serwer"
  27. on server ping:
  28. loop {pinging::*}:
  29. set {joinallow::%loop-value%} to true
  30. on quit:
  31. clear {joinallow::%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement