Jump to content

Nick skript i was working on for 7 minutes :) hope you like it


Ramina__

Recommended Posts

Well here it is.. xD

 

CODE:

 

#Made by Ramina__/Nolando09


command /nick [<text>]:
    permission: youtube.nick
    permission message: &4&lVelvetSurv>> &cYou have to be &6[MVP&c++&6] &cOr &6[&4YOU&fTUBE&6] rank to use this command.
    trigger:
        if arg-1 is not set:
            if {nicked::%player%} = "TRUE":
                set {nicked::%player%} to "OFF"
                send "&4&lVelvetSurv>> &cYou are no longer nicked!" to player
            else:
                send "&4&lVelvetSurv>> &cSpecify a name to be nicked as!" to player
        else:
            set {nickname::%player%} to arg-1 
            open chest with 3 rows named "&7Pick a &aNICK&7:" to player
            format gui slot 12 of player with blue dye named "&b[MVP&c+&b]" with lore "&7This is the &b[MVP&c+&b] &7Nick." to run:
                set {nickrank::%player%} to "&b[MVP&c+&b]"
                set {nicked::%player%} to "TRUE"
                send "&4&lVelvetSurv>> &cYou are now nicked as &4&l%{nickname::%player%}%&c!" to player
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickname::%player%}%" to loop-player
            format gui slot 13 of player with light blue dye named "&b[MVP&b]" with lore "&7This is the &b[MVP&b] &7Nick." to run:
                set {nicked::%player%} to "TRUE" 
                set {nickrank::%player%} to "&b[MVP&b]"
                send "&4&lVelvetSurv>> &cYou are now nicked as &4&l%{nickname::%player%}%&c!" to player
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickname::%player%}%" to loop-player
            format gui slot 14 of player with lime dye named "&a[VIP]" with lore "&7This is the &a[VIP] &7Nick." to run:
                set {nicked::%player%} to "TRUE" 
                set {nickrank::%player%} to "&a[VIP]" 
                send "&4&lVelvetSurv>> &cYou are now nicked as &4&l%{nickname::%player%}%&c!" to player 
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickname::%player%}%" to loop-player
on chat:
    if {nicked::%player%} = "TRUE":
        set {nickmessage::%player%} to message
        cancel event
        broadcast "%{nickrank::%player%}% %{nickname::%player%}%&8&l>> &f%{nickmessage::%player%}%"

Link to comment
Share on other sites

Just now, nolando09 said:

Well here it is.. xD

 

CODE:

 

#Made by Ramina__/Nolando09


command /nick [<text>]:
    permission: youtube.nick
    permission message: &4&lVelvetSurv>> &cYou have to be &6[MVP&c++&6] &cOr &6[&4YOU&fTUBE&6] rank to use this command.
    trigger:
        if arg-1 is not set:
            if {nicked::%player%} = "TRUE":
                set {nicked::%player%} to "OFF"
                send "&4&lVelvetSurv>> &cYou are no longer nicked!" to player
            else:
                send "&4&lVelvetSurv>> &cSpecify a name to be nicked as!" to player
        else:
            set {nickname::%player%} to arg-1 
            open chest with 3 rows named "&7Pick a &aNICK&7:" to player
            format gui slot 12 of player with blue dye named "&b[MVP&c+&b]" with lore "&7This is the &b[MVP&c+&b] &7Nick." to run:
                set {nickrank::%player%} to "&b[MVP&c+&b]"
                set {nicked::%player%} to "TRUE"
                send "&4&lVelvetSurv>> &cYou are now nicked as &4&l%{nickname::%player%}%&c!" to player
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickname::%player%}%" to loop-player
            format gui slot 13 of player with light blue dye named "&b[MVP&b]" with lore "&7This is the &b[MVP&b] &7Nick." to run:
                set {nicked::%player%} to "TRUE" 
                set {nickrank::%player%} to "&b[MVP&b]"
                send "&4&lVelvetSurv>> &cYou are now nicked as &4&l%{nickname::%player%}%&c!" to player
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickname::%player%}%" to loop-player
            format gui slot 14 of player with lime dye named "&a[VIP]" with lore "&7This is the &a[VIP] &7Nick." to run:
                set {nicked::%player%} to "TRUE" 
                set {nickrank::%player%} to "&a[VIP]" 
                send "&4&lVelvetSurv>> &cYou are now nicked as &4&l%{nickname::%player%}%&c!" to player 
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickname::%player%}%" to loop-player
on chat:
    if {nicked::%player%} = "TRUE":
        set {nickmessage::%player%} to message
        cancel event
        broadcast "%{nickrank::%player%}% %{nickname::%player%}%&8&l>> &f%{nickmessage::%player%}%"

Sorry i forgot to add member i will add it very quickly

Link to comment
Share on other sites

26 minutes ago, nolando09 said:

Sorry i forgot to add member i will add it very quickly

I am now done xD

CODE:

#Made by Ramina__/Nolando09


command /nick [<text>]:
    permission: youtube.nick
    permission message: &4&lVelvetSurv>> &cYou have to be &6[MVP&c++&6] &cOr &6[&4YOU&fTUBE&6] rank to use this command.
    trigger:
        if arg-1 is not set:
            if {nicked::%player%} = "TRUE":
                set {nicked::%player%} to "OFF"
                send "&4&lVelvetSurv>> &cYou are no longer nicked!" to player
            else:
                send "&4&lVelvetSurv>> &cSpecify a name to be nicked as!" to player
        else:
            set {nickname::%player%} to arg-1 
            open chest with 3 rows named "&7Pick a &aNICK&7:" to player
            format gui slot 12 of player with blue dye named "&b[MVP&c+&b]" with lore "&7This is the &b[MVP&c+&b] &7Nick." to run:
                set {nickrank::%player%} to "&b[MVP&c+&b]"
                set {nicked::%player%} to "TRUE"
                send "&4&lVelvetSurv>> &cYou are now nicked as %{nickrank::%player%}% &b%{nickname::%player%}%&c!" to player
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickrank::%player%}% &c%{nickname::%player%}%" to loop-player
            format gui slot 13 of player with light blue dye named "&b[MVP&b]" with lore "&7This is the &b[MVP&b] &7Nick." to run:
                set {nicked::%player%} to "TRUE" 
                set {nickrank::%player%} to "&b[MVP&b]"
                send "&4&lVelvetSurv>> &cYou are now nicked as%{nickrank::%player%}% &b%{nickname::%player%}%&c!" to player
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickrank::%player%}% &c%{nickname::%player%}%" to loop-player
            format gui slot 14 of player with lime dye named "&a[VIP]" with lore "&7This is the &a[VIP] &7Nick." to run:
                set {nicked::%player%} to "TRUE" 
                set {nickrank::%player%} to "&a[VIP]" 
                send "&4&lVelvetSurv>> &cYou are now nicked as %{nickrank::%player%}% &a%{nickname::%player%}%&c!" to player 
                close player's inventory
                loop all players:
                    if loop-player has permission "helper":
                        send "&7(&8!&7) &cNick Alert &7(&8!&7) &7%player% Has nicked as %{nickrank::%player%}% &c%{nickname::%player%}%" to loop-player
            format gui slot 26 of player with light grey dye named "&7&l[MEMBER]" with lore "&7This is the &7&l[MEMBER] &7Nick." to run:
                set {nicked::%player%} to "TRUE"
                set {nickedrank::%player%} to "&7&l[Member]"
                send "&4&lVelvetSurv>> &cYou are now nicked as %{nickrank::%player%}% &c%{nickname::%player%}%"
on chat:
    if {nicked::%player%} = "TRUE":
        set {nickmessage::%player%} to message
        cancel event
        broadcast "%{nickrank::%player%}% %{nickname::%player%}%&8&l>> &f%{nickmessage::%player%}%"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...