ItachiStudio

Skrypt na anty-bot | Skrypt by ItachiStudi

Jul 21st, 2016
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. options:
  2. sk: bot
  3.  
  4. variables:
  5. {bot.itachi.%player%} = true
  6. {status11.bot} = true
  7.  
  8. on connecting:
  9. if {antybot-zalogowani} is not set:
  10. set {antybot-zalogowani} to 0
  11. add 1 to {antybot-zalogowani}
  12. if {status11.bot} is false:
  13. {antybot-zalogowani} is larger than {bot.max.sek}:
  14. set {status11.bot} to true
  15. set {status.bot} to "&2AKTYWNY"
  16. set {bot.itachi} to true
  17. broadcast "&aANTY-BOT &cWykryto Atak botow &aANTY-BOT Zostal Automatycznie Wlaczony. (STRONA)"
  18. wait 2400 ticks
  19. if {bot.itachi} is true:
  20. set {status11.bot} to false
  21. set {status.bot} to "&cNIEAKTYWNY"
  22. set {bot.itachi} to false
  23. broadcast "&aANTY-BOT &cZostal Automatycznie Wylaczony. (STRONA)"
  24. if {bot.itachi} is true:
  25. if {bot.itachi::%player%} is set:
  26. kick player due to "&aWERIFIKACJA ANTY-BOT TO NIC NIE KOSZTUJE %nl%&cWEJDZ NA STONE SERWERA&8-> &2www.83441.enmc.pl/sklep &8->&cWEJDZ W ZAKLADKE SKLEP &8-> &cWYBIERZ WERYFIKACJA &8-> &cKUPUJE &8-> &cWPISZ SWOJ NICK Z MINECRAFTA &8-> &cWPISZ KOD ZAKUPU &8-> &f12345 &8-> &cZAKCEPTUJ REGULAMIN &8-> &cKLIKNIJ &2KUPUJE.%nl%&6COS NIE DZIALA WEJDZ NA TS3 &fTs.Kithc.Pl"
  27. stop
  28. if {rejoin.bto::%player%} is not set:
  29. set {rejoin.bto::%player%} to false
  30. loop all players:
  31. loop-player has permission "kithc.cmd.antybot":
  32. if {text.%loop-player%} is true:
  33. message "&aANTY-BOT &cGracz %player% Przechodzi Weryfikacje. (ReJoin)" to loop-player
  34. set {bot.itachi::%player%} to true
  35. kick player due to "&aANTY-BOT &cWEJDZ PONOWNIE NA SERWER."
  36.  
  37.  
  38.  
  39. every 30 ticks:
  40. set {antybot-zalogowani} to 0
  41.  
  42. on script load:
  43. set {antybot-zalogowani} to 0
  44. set {status11.bot} to false
  45. set {bot.max.sek} to 3
  46.  
  47. on skript start:
  48. set {antybot-zalogowani} to 0
  49. set {status11.bot} to false
  50. set {bot.max.sek} to 3
  51.  
  52.  
  53. on join:
  54. set {text.%player%} to true
  55.  
  56. command /antybot [<text>] [<text>]:
  57. trigger:
  58. if player has permission "kithc.cmd.antybot":
  59. if arg 1 is not set:
  60. send "&5--> ANTY BOT by Itachi" to player
  61. send "&6Status &8- %{status.bot}%" to player
  62. send "&6Max &8- &6%{bot.max.sek}%" to player
  63. send "&6/antybot reload" to player
  64. send "&6/antybot on" to player
  65. send "&6/antybot off" to player
  66. send "&6/antybot text off/on" to player
  67. send "&6/antybotadd [Gracz]" to player
  68. send "&6/antybotremove [Gracz]" to player
  69. send "&6/antybot max [ilosc]" to player
  70. if arg 1 is "on":
  71. if arg 2 is not set:
  72. set {status11.bot} to true
  73. set {status.bot} to "&2AKTYWNY"
  74. set {bot.itachi} to true
  75. loop all players:
  76. loop-player has permission "kithc.cmd.antybot":
  77. if {text.%loop-player%} is true:
  78. message "&aANTY-BOT &cZostal Wlaczony. (STRONA)" to loop-player
  79. stop
  80. if arg 1 is "off":
  81. if arg 2 is not set:
  82. set {status11.bot} to false
  83. set {status.bot} to "&cNIEAKTYWNY"
  84. set {bot.itachi} to false
  85. loop all players:
  86. loop-player has permission "kithc.cmd.antybot":
  87. if {text.%loop-player%} is true:
  88. message "&aANTY-BOT &cZostal Wylaczony. (STRONA)" to loop-player
  89. stop
  90. if arg 1 is "reload":
  91. if arg 2 is not set:
  92. set {status11.bot} to false
  93. set {status.bot} to "&cNIEAKTYWNY"
  94. set {bot.itachi} to false
  95. execute console command "/sk reload {@sk}"
  96. loop all players:
  97. loop-player has permission "kithc.cmd.antybot":
  98. if {text.%loop-player%} is true:
  99. message "&aANTY-BOT &cZostal Resetowany." to loop-player
  100. stop
  101. if arg 1 is "text":
  102. if arg 2 is "on":
  103. set {text.%player%} to true
  104. send "&aANTY-BOT &7Powiadomienia Zostaly &2Wlaczone&7."
  105. stop
  106. if arg 1 is "text":
  107. if arg 2 is "off":
  108. set {text.%player%} to false
  109. send "&aANTY-BOT &7Powiadomienia Zostaly &cWylaczone&7."
  110. stop
  111. if arg 1 is "max":
  112. if arg 2 is set:
  113. set {bot.max.sek} to arg-2
  114. wait 10 ticks
  115. loop all players:
  116. loop-player has permission "kithc.cmd.antybot":
  117. if {text.%loop-player%} is true:
  118. message "&aANTY-BOT &cUstawiono Maxmalna Liczbe Graczy Na Sek (%{bot.max.sek}%)." to loop-player
  119. stop
  120.  
  121. command /antybotadd [<text>]:
  122. permission: kithc.cmd.antybot
  123. trigger:
  124. clear {bot.itachi::%arg-1%}
  125. loop all players:
  126. loop-player has permission "kithc.cmd.antybot":
  127. if {text.%loop-player%} is true:
  128. message "&aANTY-BOT &cGracz %arg-1% Zostal Zweryfikowany Na Strone." to loop-player
  129.  
  130. command /antybotremove [<text>]:
  131. permission: kithc.cmd.antybot
  132. trigger:
  133. set {bot.itachi::%arg-1%} to true
  134. loop all players:
  135. loop-player has permission "kithc.cmd.antybot":
  136. if {text.%loop-player%} is true:
  137. message "&aANTY-BOT &cGracz %arg-1% Zostal Odweryfikowany Na Strone." to loop-player
Advertisement
Add Comment
Please, Sign In to add comment