Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Note: np = No permission. p = Prefix.
- options:
- np: &6&lRANKS &8| &cNo permission.
- p: &6&lRANKS &8|
- # [SmartFix] TODO
- command /rank [<text>] [<offline player>] [<text>]:
- permission: ranks.rank
- permission message: {@np}
- aliases: grant, setrank
- trigger:
- if argument 1 is "set":
- send "&6&m&l--------------------------------------------------"
- send "&e/rank set (player) (rank) &8» &7Sets a player's rank."
- send "&e/rank list &8» &7Shows a list of all the groups on the server."
- send "&e/rank info &8» &7Shows info about the Skript."
- send "&6&m&l--------------------------------------------------"
- if argument 2 is set:
- if argument 3 is "Administrator" or "Admin":
- set {rank.%arg 2%} to "&c&lADMIN&c"
- send "{@p} &e%arg-2%'s &7rank is now to set to &c&lADMIN&7."
- send "{@p} &7Your rank has been set to &c&lADMIN&7." to argument 2
- else if argument 3 is "Mod" or "Moderator":
- set {rank.%arg 2%} to "&e&lMOD&e"
- send "{@p} &e%arg-2%'s &7rank is now to set to &e&lMOD&7."
- send "{@p} &7Your rank has been set to &e&lMOD&7." to argument 2
- else if argument 3 is "Helper" or "Support":
- set {rank.%arg 2%} to "&b&lHELPER&b"
- send "{@p} &e%arg-2%'s &7rank is now to set to &b&lHELPER&7."
- send "{@p} &7Your rank has been set to &b&lHELPER&7." to argument 2
- else if argument 3 is "default":
- set {rank.%arg 2%} to "&7"
- send "{@p} &e%arg-2%'s &7rank is now to set to &7default."
- send "{@p} &7Your rank has been set to &7default." to argument 2
- else if argument 3 is "Owner":
- set {rank.%arg 2%} to "&4&lOWNER"
- send "{@p} &e%arg-2%'s &7rank is now to set to &4OWNER."
- send "{@p} &7Your rank has been set to &4OWNER." to argument 2
- else if argument 3 is "CoOwner":
- set {rank.%arg 2%} to "3&lCO-OWNER"
- send "{@p} &e%arg-2%'s &7rank is now to set to &3CO-OWNER."
- send "{@p} &7Your rank has been set to &3CO-OWNER." to argument 2
- else if argument 3 is "Dev" or "Development":
- set {rank.%arg 2%} to "&a&lDEV"
- send "{@p} &e%arg-2%'s &7rank is now to set to &aDEV."
- send "{@p} &7Your rank has been set to &aDEV." to argument 2
- else if argument 3 is "jrmod":
- set {rank.%arg 2%} to "&e&lJr.MOD"
- send "{@p} &e%arg-2%'s &7rank is now to set to &eJr.MOD."
- send "{@p} &7Your rank has been set to &eJr.MOD." to argument 2
- else if argument 3 is "srmod":
- set {rank.%arg 2%} to "&e&lJr.MOD"
- send "{@p} &e%arg-2%'s &7rank is now to set to &eSr.MOD."
- send "{@p} &7Your rank has been set to &eSr.MOD." to argument 2
- else:
- send "{@p} &7Please specify a user to set the rank for."
- #STARTS AT LINE 20
- else if argument 1 is "list":
- send "&6&m&l--------------------------------------------------"
- send "&4OWNER &8&l» &7Has OP."
- send "&3CO-OWNER &8&l» &7Has OP."
- send "&aDEV &8&l» &7Has OP."
- send "&cADMIN &8&l» &7Has every permission."
- send "&6Builder &8&l» &7Has build,gamemode, and punishment permissions."
- send "&eSR.MOD &8&l» &7Has most permissions."
- send "&eMOD &8&l» &7Has punishment and gamemode permissions."
- send "&eJR.MOD &8&l» &7Has most punishment and gamemode permissions."
- send "&dHelper &8&l» &7Has kick and fly permissions."
- send "&7default &8&l» &7Not much."
- send "&6&m&l--------------------------------------------------"
- else if argument 1 is "info":
- send "&6&m&l--------------------------------------------------"
- send "&7This Ranks Skript was created by"
- send "&ePlaneGlueX."
- send "&6&m&l--------------------------------------------------"
- on chat:
- set chat format to "%{rank.%player%}% &7%player% &6&l» &f%message%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement