Advertisement
CREAMPAN0408

Untitled

Mar 29th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. Options:
  2. rank: &9[&cRank&aChanger&9]
  3.  
  4. command /rank [<text>] [<player>] [<text>]:
  5. permission: {@perm}
  6. trigger:
  7. if arg-1 is "help":
  8. send "&8----------------------------------"
  9. send " {@rank} "
  10. send "&a"
  11. send "&c/rank &aprefix &6%player% &9(rank)"
  12. send "&7- &9Prefix&aを設定します。"
  13. send "&c/rank &asuffix &6%player% &9(rank)"
  14. send "&7- &9Suffix&aを設定します。"
  15. send "&c/rank &aclear &6%player% &9prefix/suffix/all"
  16. send "&7- &9ランクを消します &a(allはprefixsuffixどっちも消します)"
  17. send "&8----------------------------------"
  18. stop
  19. if arg-1 is "prefix":
  20. if arg-2 is set:
  21. if arg-3 is set:
  22. set {prefix::%uuid of arg-2%} to colored arg-3
  23. message "{@system} &6%arg-2%&aの&9Prefix&aを%colored arg-3%&aに設定しました。" to player
  24. stop
  25. else:
  26. message "{@system} &9prefix&aを書いてください。" to player
  27. stop
  28. else:
  29. message "{@system} &6名前を入れてください。" to player
  30. stop
  31. if arg-1 is "suffix":
  32. if arg-2 is set:
  33. if arg-3 is set:
  34. set {suffix::%uuid of arg-2%} to colored arg-3
  35. message "{@system} &6%arg-2%&aの&9Suffix&aを%colored arg-3%&aに設定しました。" to player
  36. stop
  37. else:
  38. message "{@system} &9Suffix&aを書いてください。" to player
  39. stop
  40. else:
  41. message "{@rank} &6名前をいれてください。" to player
  42. stop
  43. if arg-1 is "clear":
  44. if arg-2 is set:
  45. if arg-3 is "prefix":
  46. clear {prefix::%uuid of arg-2%}
  47. message "{@system} &6%arg-2%&aの&9Prefix&aを消しました" to player
  48. stop
  49. if arg-3 is "suffix":
  50. clear {suffix::%uuid of arg-2%}
  51. message "{@system} &6%arg-2%&aの&9Suffix&aを消しました。" to player
  52. stop
  53. if arg-3 is "all":
  54. clear {prefix::%uuid of arg-2%}
  55. clear {suffix::%uuid of arg-2%}
  56. message "{@system} &6%arg-2%&aの&9Prefix&aと&9Suffix&aを消しました。" to player
  57. stop
  58. else:
  59. message "{@system} &6なにを&a消すか決めてください。" to player
  60. stop
  61. else:
  62. message "{@system} &&名前をいれてください。" to player
  63. stop
  64. else:
  65. message "{@system} &6/rank help" to player
  66. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement