Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /watchdogreport <player> <text>:
- usage: /watchdogreport <プレイヤー> <通報内容>
- aliases: wdr, report, wdreport
- trigger:
- if {reported::%player%} is not set:
- set {reported::%player%} to true
- execute console command "/killaura check %arg 1%"
- send "&e%arg 1%&aさんを&e%arg 2%&aの理由でリポートしました"
- loop all players:
- if loop-player is op:
- add {KickSuu.sougou} to 1
- broadcast "&4[WatchDogAnnounce]"
- broadcast "今までHackでKickされた人は %{KickSuu.sougou}% 人 HackでBANされた人は %{BanSuu.sougou%} 人です。"
- wait 20 seconds
- clear {reported::%player%}
- else:
- send "&c続けてリポートすることはできません"
- send "&c間を開けてください"
- command /killaura [<text>] [<player>]:
- permission : Kcheck.use
- trigger:
- if arg 1 is "clear":
- clear {move::*}
- if arg 1 is "set":
- set {_world} to player's world
- set {WatchDogBack.%{_world}%} to location of player
- if arg 1 is "check" :
- if arg 2 is set:
- set {move::%arg 2%} to true
- set {check1::%arg 2%} to 0
- set {check2::%arg 2%} to 0
- set {search::%player%} to true
- set {_world} to arg 2's world
- loop 6 times:
- loop all entities in {_world}:
- "%name of loop-entity%" is "WatchDog"
- teleport loop-entity 2 meters left of arg 2
- wait 0.3 second
- loop all entities in {_world}:
- "%name of loop-entity%" is "WatchDog"
- teleport loop-entity 2 meters in front of arg 2
- wait 0.3 second
- loop all entities in {_world}:
- "%name of loop-entity%" is "WatchDog"
- teleport loop-entity 2 meters right of arg 2
- wait 0.3 second
- loop all entities in {_world}:
- "%name of loop-entity%" is "WatchDog"
- teleport loop-entity 2 meter behind arg 2
- wait 0.3 second
- loop all entities in {_world}:
- "%name of loop-entity%" is "WatchDog"
- teleport loop-entity to {WatchDogBack.%{_world}%}
- clear {check1::%arg 2%}
- clear {check2::%arg 2%}
- clear {search::%player%}
- clear {move::%arg 2%}
- on npc left click:
- if {check1::%player%} is set:
- add 1 to {check1::%player%}
- if {check1::%player%} is more than 6:
- loop all players:
- if loop-player is op:
- send "&c%player% was killaura kicked"
- kick the player due to "&cKillaura"
- clear {check1::%player%}
- on quit:
- clear {click1::%player%}
- clear {aura::%player%}
Advertisement
Add Comment
Please, Sign In to add comment