Advertisement
Guest User

AntyBot

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