Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /warn <player> <text>:
- permission: skript.warn
- trigger:
- add 1 to {warn.%arg 1%}
- if arg 1 is not set:
- message "&c使用方法: /warn <プレイヤー> <理由>" to player
- if arg 2 is not set:
- message "&c使用方法: /warn <プレイヤー> <理由>" to player
- if arg 1 and arg 2 is set:
- broadcast "&c%arg 1%さんが&4%arg 2%&Cの理由により警告されました。"
- if {warn.%arg 1%} is 3:
- execute console command "/ban %arg 1% 警告回数が三回に達したためBAN"
Advertisement
Add Comment
Please, Sign In to add comment