Guest User

Untitled

a guest
May 14th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.63 KB | None | 0 0
  1. options:
  2. tag: &8&l[&r&eSprawdzanie&8&l]
  3. variables:
  4. {czysty.%player%} = 0
  5. {chater.%player%} = 0
  6. {przyznania.%player%} = 0
  7. command /przyznaje [<text>]:
  8. trigger:
  9. if {spr.%player%} is true:
  10. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  11. broadcast "{@tag} &2%player% &7przyznal sie do uzywania cheatow!"
  12. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  13. teleport player to {itemy}
  14. set {spr.%player%} to false
  15. execute console command "kill %player%"
  16. execute console command "tempban %player% 3d Przyznales sie do uzywania cheatow!"
  17. command /nieprzyznaje [<text>]:
  18. trigger:
  19. if {spr.%player%} is true:
  20. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  21. broadcast "{@tag} &2%player% &7NIE przyznal sie do uzywania cheatow!"
  22. broadcast "{@tag} &2%player% &7Zapraszam na Ts3!"
  23. broadcast "{@tag} &2Jezeli go nie masz to masz go pobrac w ciagu 3minut!"
  24. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  25. command /spr [<text>] [<player>] [<text>] [<text>]:
  26. permission: "xAxee.*" or "xAxee.helper"
  27. permission message: &cNie masz dostepu do tej komendy!
  28. trigger:
  29. if arg 1 is not set:
  30. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to player
  31. send "&6» &8Dostepne komendy do sprawdzania:" to player
  32. send "&6» &2/spr wezwij &8<nick>" to player
  33. send "&6» &2/spr czysty &8<nick>" to player
  34. send "&6» &2/spr cheater &8<nick>" to player
  35. send "&6» &2/spr pozwol &8<nick> tak/nie" to player
  36. send "&6» &2/spr inny &8<nick> <czas> <powod>" to player
  37. send "&6» &2/spr przyznanie &8<nick>" to player
  38. send " " to player
  39. send "&6» &2/spr ostatnia" to player
  40. send "&6» &2/spr ustaw &8<nick> &2klatke" to player
  41. send "&6» &2/spr ustaw &8<nick> &2czysty" to player
  42. send "&6» &2/spr ustaw &8<nick> &2itemy" to player
  43. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to player
  44. if arg 1 is "ustaw":
  45. if arg 3 is "klatke":
  46. set {Spr} to location of player
  47. send " " to player
  48. send "{@tag} &7Ustawiles lokalizacje &6klatki!" to player
  49. send "&6Kordy Lokalizacji: &F%{spr}%" to player
  50. send " " to player
  51. if arg 1 is "ustaw":
  52. if arg 3 is "czysty":
  53. set {Czysty} to location of player
  54. send " " to player
  55. send "{@tag} &7Ustawiles lokalizacje &6Czystego!" to player
  56. send "&6Kordy Lokalizacji: &F%{czysty}%" to player
  57. send " " to player
  58. if arg 1 is "ustaw":
  59. if arg 3 is "itemy":
  60. set {itemy} to location of player
  61. send " " to player
  62. send "{@tag} &7Ustawiles lokalizacje &6Itemow z chatera!" to player
  63. send "&6Kordy Lokalizacji: &F%{itemy}%" to player
  64. send " " to player
  65. if arg 1 is "wezwij":
  66. if arg 2 is set:
  67. if {spr.%player arg%} is false:
  68. set {wczLOK.%player arg%} to location of player arg
  69. wait 1 tick
  70. teleport player to {Spr}
  71. teleport player arg to {Spr}
  72. set {spr.%arg player%} to true
  73. set {spr.poz.%player arg%} to false
  74. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  75. broadcast "&c%player-arg% &6jest podejrzany o cheaty!"
  76. broadcast "&cWykonuj polecenia &a%player%"
  77. broadcast "&cMasz 3 minuty na wykonanie polecen"
  78. broadcast "&cLogaut = perm!"
  79. broadcast "&cDostepne Komendy: &6/przyznaje /nieprzyznaje /helpop /msg"
  80. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  81. open chest with 3 rows named "&6&lJESTES PODEJRZANY!!!" to player arg
  82. loop 27 times:
  83. format slot loop-number -1 of player with 1 of red glass pane named "&6Jestes Sprawdzany!!!" to be unstealable
  84. format slot 10 of player with 1 of green wool named "&2Przyznaje" to close then run [make player execute command "Przyznaje"]
  85. format slot 16 of player with 1 of red wool named "&4Nie Przyznaje" to close then run [make player execute command "NiePrzyznaje %player-arg%"]
  86. else:
  87. send "&6» &cGracz jest juz sprawdzany!"
  88. else:
  89. send "&6» &cPodaj nick Gracza!" to player
  90. if arg 1 is "czysty":
  91. if arg 1 is set:
  92. if {spr.%player arg%} is true:
  93. if {ost} is true:
  94. teleport player arg to {wczLOK.%player arg%}
  95. set {spr.%player arg%} to false
  96. add 1 to {czysty.%player%}
  97. log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
  98. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
  99. send "&cGracz &7%player arg% &cjest czysty!" to all players
  100. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
  101. else:
  102. teleport player arg to {Czysty}
  103. set {spr.%player arg%} to false
  104. add 1 to {czysty.%player%}
  105. log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
  106. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
  107. send "&cGracz &7%player arg% &cjest czysty!" to all players
  108. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
  109. else:
  110. send "&cGRACZ NIE JEST SPRAWDZANY!" to player
  111. else:
  112. send "&6» &cPodaj nick gracza!" to player
  113. if arg 1 is "ostatnia":
  114. if {ost} is false:
  115. set {ost} to true
  116. send "&6Wlaczyles tepanie na ostatnia lokalizacje sprawdzanego!"
  117. else:
  118. set {ost} to false
  119. send "&6Wylaczyles tepanie na ostatnia lokalizacje sprawdzanego!"
  120. if arg 1 is "chater":
  121. if arg 2 is set:
  122. if {spr.%player arg%} is true:
  123. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
  124. broadcast "{@tag} &c%player-arg% zostal zbanowany za cheaty!"
  125. send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
  126. add 1 to {chater.%player%}
  127. log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
  128. set {spr.%player arg%} to false
  129. teleport player to {Czysty}
  130. teleport player arg to {itemy}
  131. execute console command "kill %player arg%"
  132. execute console command "ban %player arg% Cheaty wykryte /%player%"
  133. else:
  134. send "&6» &cGracz nie jest sprawdzany!" to player
  135. else:
  136. send "&6» &cPodaj nick gracza!" to player
  137. if arg 1 is "przyznanie":
  138. if arg 2 is set:
  139. if {spr.%player arg%} is true:
  140. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  141. broadcast "{@tag} &2%player-arg% &7przyznal sie do uzywania cheatow!"
  142. broadcast "{@tag} &2Zostal Wezwany Przez %player%"
  143. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  144. add 1 to {przyznania.%player%}
  145. log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
  146. teleport player to {Czysty}
  147. teleport player arg to {itemy}
  148. set {spr.%player arg%} to false
  149. execute console command "kill %player arg%"
  150. execute console command "tempban %player-arg% 3d Przyznales sie do uzywania cheatow! /%player%"
  151. else:
  152. send "&6» &cGracz nie jest sprawdzany!" to player
  153. else:
  154. send "&6» &cPodaj nick gracza!" to player
  155. if arg 1 is "inny":
  156. if arg 4 is set:
  157. if {spr.%player arg%} is true:
  158. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  159. broadcast "{@tag} &2%player-arg% &7zostal zbanowany podczas sprawdzania!"
  160. broadcast "{@tag} &2Zostal zbanowany za %arg 3% na %arg 4%"
  161. broadcast "{@tag} &2Zostal Wezwany Przez %player%"
  162. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  163. add 1 to {chater.%player%}
  164. log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
  165. set {spr.%player arg%} to false
  166. teleport player to {Czysty}
  167. teleport player arg to {itemy}
  168. execute console command "kill %player arg%"
  169. execute console command "tempban %player-arg% %arg 3% %arg 4% /%player%"
  170. else:
  171. send "&6» &cGracz nie jest sprawdzany!" to player
  172. else:
  173. send "&6» &cPoprawne uzycie &6/spr inny <nick> <czas> <powod>" to player
  174. if arg 1 is "pozwol":
  175. if arg 3 is set:
  176. if arg 3 is "tak" or "nie":
  177. if arg 3 is "tak":
  178. if {spr.%player arg%} is true:
  179. if {spr.poz.%player arg%} is false:
  180. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  181. broadcast "{@tag} &2%player% &8pozwolil na logaut &6%player-arg%"
  182. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  183. set {spr.poz.%player arg%} to true
  184. else:
  185. send "&6» &cGracz juz dostal na to pozwolenie" to player
  186. else:
  187. send "&6» &cgracz nie jest sprawdzany!" to player
  188. else:
  189. if {spr.poz.%player arg%} is true:
  190. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  191. broadcast "{@tag} &2%player% &8nie pozwolil na logaut &6%player-arg%"
  192. broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
  193. set {spr.poz.%player arg%} to false
  194. else:
  195. send "&6» &cGracz juz dostal na to pozwolenie" to player
  196. else:
  197. send "&6» &cPoprawne uzycie komendy &6/spr pozwol <nick> tak/nie"
  198. on command:
  199. if {spr.%player%} is true:
  200. if command is not "przyznaje" or "helpop" or "nieprzyznaje" or "msg" or "r":
  201. stop
  202. on quit:
  203. if {spr.%player%} is true:
  204. if {spr.poz.%player%} is false:
  205. teleport player to {itemy}
  206. broadcast "&6Gracz %player% wylogowal sie podczas sprawdzania!"
  207. set {spr.%player%} to false
  208. execute console command "kill %player%"
Advertisement
Add Comment
Please, Sign In to add comment