1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automaticly rename an item on receive

Discussion in 'Skript' started by Chris_GSPvP, May 11, 2017.

Thread Status:
Not open for further replies.
  1. Chris_GSPvP

    Chris_GSPvP Member

    Joined:
    Feb 12, 2017
    Messages:
    6
    Likes Received:
    0
    Is there a way how I can rename a specific item when I receive it? I want to give it another color, however there are multiple ways how you can get diamonds (with the default name), but either by picking it up, or just receiving it at any way it should be renamed.

    Any help is welcome!
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,123
    Likes Received:
    157
    Code (Skript):
    1.  
    2. on pickup:
    3.  set name of event-item to "%player%'s item"
    4.  
    Try this
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,123
    Likes Received:
    157
    Yes, but it is not only with picking up, there are several ways. Is there a method like: on receive?
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,123
    Likes Received:
    157
    On pickup is renaming the item if someone drops it and the other guy takes it... May you can loop all items in players inventory every 10 sec and rename it :emoji_slight_smile:
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,123
    Likes Received:
    157
    Not sure if that is a good fix.

    Throws an error by the way.
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,123
    Likes Received:
    157
    What kind of error?
     
Thread Status:
Not open for further replies.
Loading...