NoHacksJustACow

admin.sk

Jan 25th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 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 "Default":
  7. broadcast "&3%arg-1% &7has been demoted to &7Default!"
  8. set the arg-1's group to "Default"
  9. if arg-2 is "Builder":
  10. broadcast "&3%arg-1% &7has been promoted to &d&lBuilder&7!"
  11. set the arg-1's group to "Builder"
  12. if arg-2 is "JrMod":
  13. broadcast "&3%arg-1% &7has been promoted to &a&lJrMod&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 &e&lMod&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 &6&lSrMod&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 &c&lAdmin&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 &b&lDeveloper&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 &9&lOwner&7!"
  29. set the arg-1's group to "Owner"
  30. if arg-2 is "Vip":
  31. broadcast "&3%arg-1% &7has been promoted to &a&lVip&7!"
  32. set the arg-1's group to "Vip"
  33. if arg-2 is "Vip+":
  34. broadcast "&3%arg-1% &7has been promoted to &a&lVip&6&l+&7!"
  35. set the arg-1's group to "Vip+"
  36. if arg-2 is "Mvp":
  37. broadcast "&3%arg-1% &7has been promoted to &b&lMvp&7!"
  38. set the arg-1's group to "Mvp"
  39. if arg-2 is "Mvp+":
  40. broadcast "&3%arg-1% &7has been promoted to &b&lMvp&c&l+&7!"
  41. set the arg-1's group to "Mvp+"
  42. if arg-2 is "Mvp++":
  43. broadcast "&3%arg-1% &7has been promoted to &b&lMvp&6&l++&7!"
  44. set the arg-1's group to "Mvp++"
  45.  
  46. if arg-1 is not set:
  47. send "&7/setrank (player) (rank)"
  48. stop
  49. if arg-2 is not set:
  50. send "&7/setrank (player) (rank)"
  51. stop
Advertisement
Add Comment
Please, Sign In to add comment