Advertisement
Guest User

setrank.sk

a guest
Jan 16th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. command /setrank [<offlineplayer>] [<text>]:
  2. permission: Admin
  3. permission message: &7This permission is for &cAdmin+
  4. trigger:
  5. if arg-1 is set:
  6. if arg-2 is "Builder":
  7. broadcast "&3%arg-1% &7has been promoted to &dBuilder&7!"
  8. set the arg-1's group to "Builder"
  9. if arg-2 is "Helper":
  10. broadcast "&3%arg-1% &7has been promoted to &3Helper&7!"
  11. set the arg-1's group to "Helper"
  12. if arg-2 is "JrMod":
  13. broadcast "&3%arg-1% &7has been promoted to &aJrMod&7!"
  14. set the arg-1's group to "JrMod"
  15. if arg-2 is "Mod":
  16. broadcast "&3%arg-1% &7has been promoted to &eMod&7!"
  17. set the arg-1's group to "Mod"
  18. if arg-2 is "SrMod":
  19. broadcast "&3%arg-1% &7has been promoted to &6SrMod&7!"
  20. set the arg-1's group to "SrMod"
  21. if arg-2 is "Admin":
  22. broadcast "&3%arg-1% &7has been promoted to &cAdmin&7!"
  23. set the arg-1's group to "Admin"
  24. if arg-2 is "Dev":
  25. broadcast "&3%arg-1% &7has been promoted to &bDeveloper&7!"
  26. set the arg-1's group to "Dev"
  27. if arg-2 is "Owner":
  28. broadcast "&3%arg-1% &7has been promoted to &9Owner&7!"
  29. set the arg-1's group to "Owner"
  30. if arg-2 is "Default":
  31. broadcast "&3%arg-1% &7has been demoted to &7Default!"
  32. set the arg-1's group to "Default"
  33. if arg-2 is "F":
  34. broadcast "&3%arg-1% &7Said F and was Demoted to Default!"
  35. set the arg-1's group to "default"
  36. if arg-2 is "Rank_I":
  37. broadcast "&3%arg-1% &7has been promoted to &7Rank_I&7!"
  38. set the arg-1's group to "RankI"
  39. if arg-2 is "Rank_II":
  40. broadcast "&3%arg-1% &7has been promoted to &7Rank_II&7!"
  41. set the arg-1's group to "RankII"
  42. if arg-2 is "Rank_III":
  43. broadcast "&3%arg-1% &7has been promoted to &7Rank_III&7!"
  44. set the arg-1's group to "RankIII"
  45. if arg-2 is "Rank_IV":
  46. broadcast "&3%arg-1% &7has been promoted to &7Rank_IV&7!"
  47. set the arg-1's group to "RankIV"
  48. if arg-2 is "Vip":
  49. broadcast "&3%arg-1% &7has been promoted to &7Vip&7!"
  50. set the arg-1's group to "vip"
  51. if arg-2 is "Vip+":
  52. broadcast "&3%arg-1% &7has been promoted to &7Vip+&7!"
  53. set the arg-1's group to "Vip+"
  54. if arg-2 is "Mvp":
  55. broadcast "&3%arg-1% &7has been promoted to &7Mvp&7!"
  56. set the arg-1's group to "Mvp"
  57. if arg-2 is "Mvp+":
  58. broadcast "&3%arg-1% &7has been promoted to &7Mvp+&7!"
  59. set the arg-1's group to "Mvp+"
  60. if arg-2 is "Mvp++":
  61. broadcast "&3%arg-1% &7has been promoted to &7Mvp++&7!"
  62. set the arg-1's group to "Mvp++"
  63.  
  64. if arg-1 is not set:
  65. send "&7/setrank (player) (rank)"
  66. stop
  67. if arg-2 is not set:
  68. send "&7/setrank (player) (rank)"
  69. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement