mcspinner123

Untitled

Oct 10th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. command /watchdogreport <player> <text>:
  2. usage: /watchdogreport <プレイヤー> <通報内容>
  3. aliases: wdr, report, wdreport
  4. trigger:
  5. if {reported::%player%} is not set:
  6. set {reported::%player%} to true
  7. execute console command "/killaura check %arg 1%"
  8. send "&e%arg 1%&aさんを&e%arg 2%&aの理由でリポートしました"
  9. loop all players:
  10. if loop-player is op:
  11. add {KickSuu.sougou} to 1
  12. broadcast "&4[WatchDogAnnounce]"
  13. broadcast "今までHackでKickされた人は %{KickSuu.sougou}% 人 HackでBANされた人は %{BanSuu.sougou%} 人です。"
  14. wait 20 seconds
  15. clear {reported::%player%}
  16. else:
  17. send "&c続けてリポートすることはできません"
  18. send "&c間を開けてください"
  19.  
  20. command /killaura [<text>] [<player>]:
  21. permission : Kcheck.use
  22. trigger:
  23. if arg 1 is "clear":
  24. clear {move::*}
  25. if arg 1 is "set":
  26. set {_world} to player's world
  27. set {WatchDogBack.%{_world}%} to location of player
  28. if arg 1 is "check" :
  29. if arg 2 is set:
  30. set {move::%arg 2%} to true
  31. set {check1::%arg 2%} to 0
  32. set {check2::%arg 2%} to 0
  33. set {search::%player%} to true
  34. set {_world} to arg 2's world
  35. loop 6 times:
  36. loop all entities in {_world}:
  37. "%name of loop-entity%" is "WatchDog"
  38. teleport loop-entity 2 meters left of arg 2
  39. wait 0.3 second
  40. loop all entities in {_world}:
  41. "%name of loop-entity%" is "WatchDog"
  42. teleport loop-entity 2 meters in front of arg 2
  43. wait 0.3 second
  44. loop all entities in {_world}:
  45. "%name of loop-entity%" is "WatchDog"
  46. teleport loop-entity 2 meters right of arg 2
  47. wait 0.3 second
  48. loop all entities in {_world}:
  49. "%name of loop-entity%" is "WatchDog"
  50. teleport loop-entity 2 meter behind arg 2
  51. wait 0.3 second
  52. loop all entities in {_world}:
  53. "%name of loop-entity%" is "WatchDog"
  54. teleport loop-entity to {WatchDogBack.%{_world}%}
  55. clear {check1::%arg 2%}
  56. clear {check2::%arg 2%}
  57. clear {search::%player%}
  58. clear {move::%arg 2%}
  59.  
  60. on npc left click:
  61. if {check1::%player%} is set:
  62. add 1 to {check1::%player%}
  63. if {check1::%player%} is more than 6:
  64. loop all players:
  65. if loop-player is op:
  66. send "&c%player% was killaura kicked"
  67. kick the player due to "&cKillaura"
  68. clear {check1::%player%}
  69.  
  70. on quit:
  71. clear {click1::%player%}
  72. clear {aura::%player%}
Advertisement
Add Comment
Please, Sign In to add comment