Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {point.%player%} to 10
- stop
- command /point [<text>] [<text>] [<text>]:
- trigger:
- set {point.%player%} to arg 3
- if arg 1 is not set:
- message "&e%arg 1%&bのPointは&a%arg 3%&bです。"
- if arg 1 is not "setpoint" or "help":
- if arg 2 is not set:
- message "&e%arg 1%&bのPointは&a%arg 3%&bです。"
- if arg 1 is "help":
- if player has permission "point.sk":
- message "&d====&cCommands&d===="
- message "&c/point <player> でその人のポイントを見れます"
- message "&c/point <player> set <number> でその人のポイントを設定できます"
- else:
- message "&d====&cCommands&d===="
- message "&c/point <player> でその人のポイントを見れます"
- if player has permission "point.admin":
- if arg 2 is "set":
- if arg 3 is not set:
- send "&cキル数を指定してください。"
- if arg 3 is set:
- set {point.%arg 1%} to arg 3
- broadcast "&5[お知らせ] &e%arg 1%&bのpointを&a%arg 3%&bに変更しました"
- on join:
- if {point.%player%} is less than or equal to 3:
- kick the player due to "&cあなたは評価値が3Point以下なのでサーバーに入れません"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement