Jump to content

Item Editor Skript With Name, Lore, and Disenchant


ButterflyBullets

Recommended Posts

I know other people have made a skript like this one:

command /rename [<text>]:
   permission: rename.sk 
   permission message: &cInsufficient Permission
   trigger:
      if arg 1 isn't set:
         send "&aUsage: &b/rename &f<text>" to player 
      else:
         if player's tool is air:
            send "&bYou Need To Hold An Item To Rename!" to player 
         else:
            set name of player's tool to colored arg 1
            send "&bYour Item Has Been Renamed To: %colored arg-1%" to player

But I have a new and better one that looks like this:

command /ie <text> [<text>]:
   aliases: /itemeditor
   permission: itemeditor.sk
   permission message: &cInsufficient Perms
   trigger:
      if arg 1 isn't set:
         send "&aUsage: &b/rename &f<text>" to player 
      else:
         if player's tool is air:
            send "&bYou Need To Hold An Item To Rename!" to player
      if arg-1 is "name":
         set name of player's held item to colored arg 2
      if arg-1 is "lore":
         set lore of player's held item to colored arg 2
      if arg-1 is "clearenchants":
         disenchant player's tool

Now this one has lore and can also disenchant the players tool, more helpful than the last

  • Thanks 1

-----------------------

Skript - 8 months

Minecraft - 8 years                         No Bitches?

-----------------------

Link to comment
Share on other sites

  • 1 month later...

1. Here is the code with /shiny;

command /ie <text> [<text>]:
    aliases: /itemeditor
    permission: itemeditor.sk
    permission message: &cInsufficient Perms
    trigger:
        if arg 1 isn't set:
            send "&aUsage: &b/rename &f<text>" to player 
        else:
            if player's tool is air:
                send "&bYou Need To Hold An Item To Rename!" to player
            if arg-1 is "name":
                set name of player's held item to colored arg 2
            if arg-1 is "lore":
                set lore of player's held item to colored arg 2
            if arg-1 is "clearenchants":
                disenchant player's tool
            if arg-1 is "shine" or "shiny":
                make player's held item shiny

2. Please don't necropost.

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...