Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {Rank.%player%} = "Lv1"
- {Rank.%player%.killc} = 0
- {Rank.up} = false
- options:
- prefix: &7[&dRank&7]
- #================================================================#
- #============================階級設定============================#
- #================================================================#
- on death of player:
- {Rank.up} is true
- wait 2 ticks
- add 1 to {Rank.%attacker%.killc}
- if {Rank.%victim%.killc} is more than 20:
- subtract 1 from {Rank.%victim%.killc}
- if {Rank.%attacker%.killc} is less than 20:
- stop
- if {Rank.%attacker%.killc} is less than 20:
- {Rank.%attacker%} is "Lv2":
- stop
- set {Rank.%attacker%} to "Lv2"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 40:
- {Rank.%attacker%} is "Lv3":
- stop
- set {Rank.%attacker%} to "Lv3"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 50:
- {Rank.%attacker%} is "Lv4":
- stop
- set {Rank.%attacker%} to "Lv4"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 60:
- {Rank.%attacker%} is "Lv5":
- stop
- set {Rank.%attacker%} to "Lv5"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 75:
- {Rank.%attacker%} is "Lv6":
- stop
- set {Rank.%attacker%} to "Lv6"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 85:
- {Rank.%attacker%} is "Lv7":
- stop
- set {Rank.%attacker%} to "Lv7"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 95:
- {Rank.%attacker%} is "Lv8":
- stop
- set {Rank.%attacker%} to "Lv8"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 105:
- {Rank.%attacker%} is "Lv9":
- stop
- set {Rank.%attacker%} to "Lv9"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 115:
- {Rank.%attacker%} is "Lv10":
- stop
- set {Rank.%attacker%} to "Lv10"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 130:
- {Rank.%attacker%} is "Lv11":
- stop
- set {Rank.%attacker%} to "Lv11"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 150:
- {Rank.%attacker%} is "Lv12":
- stop
- set {Rank.%attacker%} to "Lv12"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- message "{@prefix} <Reset>あと3700キルで少尉!ここを超えたらいいことあるかも?"
- stop
- if {Rank.%attacker%.killc} is less than 170:
- {Rank.%attacker%} is "Lv13":
- stop
- set {Rank.%attacker%} to "Lv13"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 190:
- {Rank.%attacker%} is "Lv14":
- stop
- set {Rank.%attacker%} to "Lv14"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 210:
- {Rank.%attacker%} is "Lv15":
- stop
- set {Rank.%attacker%} to "Lv15"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 230:
- {Rank.%attacker%} is "Lv16":
- stop
- set {Rank.%attacker%} to "Lv16"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 250:
- {Rank.%attacker%} is "Lv17":
- stop
- set {Rank.%attacker%} to "Lv17"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 270:
- {Rank.%attacker%} is "Lv18":
- stop
- set {Rank.%attacker%} to "Lv18"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 290:
- {Rank.%attacker%} is "Lv19":
- stop
- set {Rank.%attacker%} to "Lv19"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 300:
- {Rank.%attacker%} is "Lv20":
- stop
- set {Rank.%attacker%} to "Lv20"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 310:
- {Rank.%attacker%} is "Lv21":
- stop
- set {Rank.%attacker%} to "Lv21"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 320:
- {Rank.%attacker%} is "Lv22":
- stop
- set {Rank.%attacker%} to "Lv22"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 330:
- {Rank.%attacker%} is "Lv23":
- stop
- set {Rank.%attacker%} to "Lv23"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 350:
- {Rank.%attacker%} is "Lv24":
- stop
- set {Rank.%attacker%} to "Lv24"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 370:
- {Rank.%attacker%} is "Lv25":
- stop
- set {Rank.%attacker%} to "Lv25"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 390:
- {Rank.%attacker%} is "Lv26":
- stop
- set {Rank.%attacker%} to "Lv26"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 400:
- {Rank.%attacker%} is "Lv27":
- stop
- set {Rank.%attacker%} to "Lv27"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 410:
- {Rank.%attacker%} is "Lv28":
- stop
- set {Rank.%attacker%} to "Lv28"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 430:
- {Rank.%attacker%} is "Lv29":
- stop
- set {Rank.%attacker%} to "Lv29"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- if {Rank.%attacker%.killc} is less than 450:
- {Rank.%attacker%} is "Lv30":
- stop
- set {Rank.%attacker%} to "Lv30"
- message "{@prefix} <Reset>%{Rank.%attacker%}%になりました!" to the attacker
- stop
- #================================================================#
- #========================階級コマンド設定========================#
- #================================================================#
- command /Rank <text> <player>:
- usage: <Green>/Rank view <Aqua>-show your rank <Green>/rank toggle <Aqua>-op only,階級をONにするかOFFにするか
- trigger:
- if arg 1 is "view":
- if player-arg is set:
- message "{@prefix} &r%{Rank.%player-arg%}%" to the player
- else:
- message "{@prefix} &r%{Rank.%player%}%" to the player
- stop
- player is op
- if arg 1 is "toggle":
- player-arg is not set
- if {Rank.up} is true:
- set {Rank.up} to false
- message "disable" to the player
- stop
- if {Rank.up} is false:
- set {Rank.up} to true
- message "enable" to the player
- command /Rankup <number>:
- usage: this cmd is AOI0530 only use
- permission: Rank.sk*
- trigger:
- player is ""
- add number-arg 1 to {Rank.%player%.killc}
- message "%{Rank.%player%.killc}%" to the player
Add Comment
Please, Sign In to add comment