Jump to content

nicoalla

Member
  • Posts

    20
  • Joined

  • Last visited

About nicoalla

  • Birthday 10/30/2005

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

nicoalla's Achievements

Rookie

Rookie (3/6)

1

Reputation

Single Status Update

See all updates by nicoalla

  1. I have made a skript for a rank system. If you want to make it individual and don't know how, then just tell me and i make it like you want ,)

     

     

    options:
        prefix: &8[&3Pre&bfix&8]
        defaultPrefix: "&f[No rank]" # The default prefix, obv.

    variables:
        {prefix::%player%} = "&f[Nor rank]"

    on load:
        loop all players:
            if {prefix::%loop-player's uuid%} is not set:
                set {prefix::%loop-player's uuid%} to {@defaultPrefix}
    command /rank <player> [<text>] [<text>]:
        #permission: prefix.use #If you want to have a permission node remove the #
        #permission message: &cSorry, but you do not have permission to execute this command.
        usage: &ePlease do &6/rank help &efor commands.
        trigger:
            set {playername} to arg 1
            if arg 2 is "help":
                send "{@prefix} &eCommands:"
                send "&8&m                              "
                send "&3- &b/rank help &7| &fDisplays this message."
                send "&3- &b/rank set §l§6<rank> &7| &fSets your rank."
                send "&3- &b/rank reset &7| &fResets your rank."
                send "&3- &b/All available ranks:"
                send "§l§1MVP"
                send "§l§3Myth"
                send "§l§5Titan"
                send "§l§dImmortal"
                send "§l§eJr Mod"
                send "§l§2Mod"
                send "§l§aAdmin"
                send "§l§7Sr Admin"
                send "§l§4Owner"
                send "&8&m                              "

            if arg 2 is "set":
                if arg 3 is set:
                    if arg 3 does not contain "MVP" or "Myth" or "Titan" or "Immortal" or "Jar Mod" or "Mod" or "Admin" or "Sr Admin" or "Owner":
                        send "{@prefix} &4 You have to choose one of the nine ranks!"
                        stop

                    else:
                        set {prefix::%player's uuid%} to colored arg 3
                        if arg 3 is "MVP":
                            set the player's tab list name to "§l§1%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Myth":
                            set the player's tab list name to "§l§3%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Titan":
                            set the player's tab list name to "§l§5%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Immortal":
                            set the player's tab list name to "§l§d%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Jr Mod":
                            set the player's tab list name to "§l§e%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Mod":
                            set the player's tab list name to "§l§2%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Admin":
                            set the player's tab list name to "§l§a%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Sr Admin":
                            set the player's tab list name to "§l§7%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        if arg 3 is "Owner":
                            set the player's tab list name to "§l§4%arg 3% §f%arg 1%"
                            send "{@prefix} &a%arg 1%'s rank is now: &3%colored arg 3%&a."
                            stop
                        stop

                else:
                    send "{@prefix} &cPlease set a §nrank."
                    stop

            if arg 2 is "reset":
                set {prefix::%player's uuid%} to {@defaultPrefix}
                send "{@prefix} &a%arg 1% rank's has been reset."
                stop

    on chat:
        if player's tab list name is "&1MVP &f%player%":
            set the chat format to "&l&1%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&3Myth &f%player%":
            set the chat format to "&l&3%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&5Titan &f%player%":
            set the chat format to "&l&5%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&dImmortal &f%player%":
            set the chat format to "&l&d%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&eJr Mod &f%player%":
            set the chat format to "&l&e%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&2Mod &f%player%":
            set the chat format to "&l&2%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&aAdmin &f%player%":
            set the chat format to "&l&a%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&7Sr Admin &f%player%":
            set the chat format to "&l&7%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"
        if player's tab list name is "&4Owner &f%player%":
            set the chat format to "&l&4%{prefix::%player's uuid%}% &f%player's display name%: &7%message%"

×
×
  • Create New...